Skip to content

Commit

Permalink
Update QC col in test
Browse files Browse the repository at this point in the history
  • Loading branch information
lahuuki committed Jun 10, 2024
1 parent 943f2f7 commit e13ed4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/testthat/test-add_qc_metrics.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ test_that(
# run metrics spe
spe_qc <- add_qc_metrics(spe)
expect_equal(ncol(spe), ncol(spe_qc)) ## same number of spots
expect_equal(ncol(colData(spe)) + 8, ncol(colData(spe_qc))) ## add 8 QC cols to colData
expect_equal(ncol(colData(spe)) + 7, ncol(colData(spe_qc))) ## add 7 QC cols to colData
# [1] "scran_discard" "scran_low_lib_size" "scran_low_n_features"
# [4] "scran_high_subsets_Mito_percent" "edge_spot" "edge_distance"
# [7] "scran_low_lib_size_edge"
}
)

0 comments on commit e13ed4d

Please sign in to comment.