SceToSingleCellAssay: Coerce a SingleCellExperiment to some class defined in MAST

View source: R/SingleCellAssay-methods.R

SceToSingleCellAssayR Documentation

Coerce a SingleCellExperiment to some class defined in MAST

Description

Coerce a SingleCellExperiment to some class defined in MAST

Usage

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.


RGLab/MAST documentation built on Sept. 30, 2023, 1:08 p.m.