View source: R/ComponentScores.R
ScoreUsingSavedComponent | R Documentation |
Scores a seurat object using the gene weights from a saved component
ScoreUsingSavedComponent(
seuratObj,
componentOrName,
fieldName,
assayName = "RNA"
)
seuratObj |
The seurat object |
componentOrName |
Either a data frame with the columns 'feature' and 'weight', or the name of a previously saved component available in RIRA |
fieldName |
The name of the field in which to save the resulting scores |
assayName |
The assay to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.