tests/testthat/test-dropletUtils.R

# QC algorithms for all barcodes, pre-filter
library(singleCellTK)
context("Testing dropletUtils algorithms")
data(scExample, package = "singleCellTK")

test_that(desc = "Testing runBarcodeRankDrops", {
        sceres <- runBarcodeRankDrops(inSCE = sce)
        expect_equal(length(colData(sceres)$dropletUtils_BarcodeRank_Inflection),ncol(sce))
        expect_equal(class(colData(sceres)$dropletUtils_BarcodeRank_Inflection), "integer")
})

Try the singleCellTK package in your browser

Any scripts or data that you put into this service are public.

singleCellTK documentation built on Nov. 8, 2020, 5:21 p.m.