From e13ed4dd0c71ce2ac6f2aa3b30ab39292869ce02 Mon Sep 17 00:00:00 2001 From: Louise Huuki Date: Mon, 10 Jun 2024 14:17:31 -0400 Subject: [PATCH] Update QC col in test --- tests/testthat/test-add_qc_metrics.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-add_qc_metrics.R b/tests/testthat/test-add_qc_metrics.R index 9985bbb6..39d39a0a 100644 --- a/tests/testthat/test-add_qc_metrics.R +++ b/tests/testthat/test-add_qc_metrics.R @@ -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" } )