longtests/testthat/test-ernst-spermatogenesis.R

# library(testthat); library(scRNAseq); source('test-he-organ-atlas.R')

test_that("Ernst spermatogenesis getter works as expected", {
    sce <- ErnstSpermatogenesisData()
    expect_s4_class(sce, "SingleCellExperiment")

    sce2 <- ErnstSpermatogenesisData(method="Cellranger")
    expect_true(ncol(sce)!=ncol(sce2))
})
drisso/scRNAseq documentation built on Feb. 16, 2021, 1:18 a.m.