longtests/testthat/test-nowakowski-cortex.R

# library(testthat); library(scRNAseq); source('test-nowakowski-cortex.R')

test_that("Nowakowski cortex getter works as expected", {
    sce <- NowakowskiCortexData()
    expect_s4_class(sce, "SingleCellExperiment")

    sce <- NowakowskiCortexData(ensembl=TRUE)
    expect_true(all(grepl("^ENSG", rownames(sce))))
})
LTLA/scRNAseq documentation built on June 28, 2024, 7:31 p.m.