Coerce a SingleCellExperiment to some class defined in MAST

SceToSingleCellAssay(sce, class = "SingleCellAssay", check_sanity = TRUE)

Arguments

sce

object inheriting from SingleCellExperiment

class

character naming the class to be coerced to

check_sanity

(default: TRUE) Set FALSE to override sanity checks that try to ensure that the default assay is log-transformed and has at least one exact zero. See defaultAssay for details on the "default assay" which is assumed to contain log transformed data.

Value

object of the indicated class.