ClassifySGS: ClassifySGS

Description Usage Arguments Value

View source: R/Classification_SGS.R

Description

This will classify cells in a seurat object using a variant of Seurat's AddModuleScore

Usage

1
2
3
4
5
6
7
8
ClassifySGS(
  seuratObj,
  geneList = NULL,
  geneSetName = NULL,
  saveFilePath = NULL,
  doPlot = T,
  positivityThreshold = NULL
)

Arguments

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

Value

A dataframe with the results per cell


bimberlabinternal/OOSAP documentation built on Jan. 19, 2021, 2:47 a.m.