Copied from scKirby, which is not yet on CRAN or Bioconductor.

ctd_to_sce(object, as_sparse = TRUE, as_DelayedArray = FALSE, verbose = TRUE)

Arguments

object

CellTypeDataset object.

as_sparse

Store SingleCellExperiment matrices as sparse.

as_DelayedArray

Store SingleCellExperiment matrices as DelayedArray.

verbose

Print messages.

Value

SingleCellExperiment

Examples

ctd <- ewceData::ctd()
#> see ?ewceData and browseVignettes('ewceData') for documentation
#> loading from cache
sce <- EWCE::ctd_to_sce(ctd)
#> + CTD ==> SingleCellExperiment
#> Converting level:  level_1
#> Returning all possible matrix names.
#> Converting level:  level_2
#> Returning all possible matrix names.