create_mofa_from_SingleCellExperiment | R Documentation |
Method to create a MOFA
object from a SingleCellExperiment object
create_mofa_from_SingleCellExperiment(
sce,
groups = NULL,
assay = "logcounts",
extract_metadata = FALSE
)
sce |
SingleCellExperiment object |
groups |
a string specifying column name of the colData to use it as a group variable.
Alternatively, a character vector with group assignment for every sample.
Default is |
assay |
assay to use, default is |
extract_metadata |
logical indicating whether to incorporate the metadata from the SingleCellExperiment object into the MOFA object |
Returns an untrained MOFA
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.