create_mofa_from_Seurat | R Documentation |
Method to create a MOFA
object from a Seurat object
create_mofa_from_Seurat(
seurat,
groups = NULL,
assays = NULL,
slot = "scale.data",
features = NULL,
extract_metadata = FALSE
)
seurat |
Seurat object |
groups |
a string specifying column name of the samples metadata to use it as a group variable.
Alternatively, a character vector with group assignment for every sample.
Default is |
assays |
assays to use, default is |
slot |
assay slot to be used (default is scale.data). |
features |
a list with vectors, which are used to subset features, with names corresponding to assays; a vector can be provided when only one assay is used |
extract_metadata |
logical indicating whether to incorporate the metadata from the Seurat 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.