# decontamination algorithms
library(singleCellTK)
context("Testing decontamination algorithms")
data(scExample, package = "singleCellTK")
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
test_that(desc = "Testing runDecontX", {
sceres <- runDecontX(sce)
expect_equal(length(colData(sceres)$decontX_clusters),ncol(sce))
expect_equal(class(colData(sceres)$decontX_contamination), "numeric")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.