From 34d9c05acb337c923dced2e1ccc2a743aaeb58c1 Mon Sep 17 00:00:00 2001 From: bbimber Date: Tue, 28 Jan 2025 14:07:44 -0800 Subject: [PATCH] Test fix --- tests/testthat/test-nimbleappend.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testthat/test-nimbleappend.R b/tests/testthat/test-nimbleappend.R index 1bcf04b..3b57bf5 100644 --- a/tests/testthat/test-nimbleappend.R +++ b/tests/testthat/test-nimbleappend.R @@ -105,8 +105,8 @@ test_that("Nimble Append output Seurat object is valid when creating new assay", expect_equal(colnames(GetAssayData(seuratObj, assay = 'Nimble', layer = 'counts')), expectedBarcodes) expect_equal(rownames(GetAssayData(seuratObj, assay = 'Nimble', layer = 'counts')), expectedFeatures) - expect_equal(unname(GetAssayData(seuratObj, assay = 'RNA', layer = 'counts')[, expectedBarcodes[1]]), expectedValues[[1]]) - expect_equal(unname(GetAssayData(seuratObj, assay = 'RNA', layer = 'counts')[, expectedBarcodes[2]]), expectedValues[[2]]) - expect_equal(unname(GetAssayData(seuratObj, assay = 'RNA', layer = 'counts')[, expectedBarcodes[3]]), expectedValues[[3]]) - expect_equal(unname(GetAssayData(seuratObj, assay = 'RNA', layer = 'counts')[, expectedBarcodes[4]]), expectedValues[[4]]) + expect_equal(unname(GetAssayData(seuratObj, assay = 'Nimble', layer = 'counts')[, expectedBarcodes[1]]), expectedValues[[1]]) + expect_equal(unname(GetAssayData(seuratObj, assay = 'Nimble', layer = 'counts')[, expectedBarcodes[2]]), expectedValues[[2]]) + expect_equal(unname(GetAssayData(seuratObj, assay = 'Nimble', layer = 'counts')[, expectedBarcodes[3]]), expectedValues[[3]]) + expect_equal(unname(GetAssayData(seuratObj, assay = 'Nimble', layer = 'counts')[, expectedBarcodes[4]]), expectedValues[[4]]) })