Description Usage Arguments Value
View source: R/Classification_SGS.R
This will classify cells in a seurat object using a variant of Seurat's AddModuleScore
1 2 3 4 5 6 7 8 | ClassifySGS(
seuratObj,
geneList = NULL,
geneSetName = NULL,
saveFilePath = NULL,
doPlot = T,
positivityThreshold = NULL
)
|
geneList |
A character vector of the genes to test |
geneSetName |
A name to use for this gene list. This will be used in the header of the dataframe |
saveFilePath |
If provided, the dataframe will be saved here |
doPlot |
If true, a QC plot will be created |
positivityThreshold |
If provided, a boolean column will be added to the dataframe scoring cells as positive or negative, depending on if their score is greater than this threshold |
A dataframe with the results per cell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.