View source: R/FindSubpopulationMarkers.R
FindSubpopulationMarkers | R Documentation |
This function determines which cells characterize the subpopulations identified using ReclusterCells
. It is intended to be run on a single re-clustered Seurat
object at a time, though if you wish you could
iterate over the list of reclustering results, and save the outputs from this function in a matching array of lists. The function returns a list of dataframes, one dataframe per cluster, containing normal and Bonferroni-adjusted
p-values, gene prevalence, and effect size in the form of log2 fold change.
FindSubpopulationMarkers(
seurat.object = NULL,
reclust.data = NULL,
which.compare = "all cells",
diff.exp.test = "wilcox",
logfc.thresh = 2,
random.seed = 629
)
seurat.object |
The original |
reclust.data |
A specific |
which.compare |
Should subpopulation marker genes be determined in the context of the entire sample, or solely the single cluster? Defaults to "all cells"; choose "within cluster" to determine marker genes at the cluster level. |
diff.exp.test |
The test used to calculate differential expression using |
logfc.thresh |
The log2 fold-change cutoff used when performing differential expression analysis. Defaults to 2. |
random.seed |
(Optional) The seed used to control stochasticity in several functions. Defaults to 629. |
Jack Leary
FindSpecificMarkers
## Not run: FindSubpopulationMarkers(seurat.object, reclust.data = reclust_results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.