View source: R/mcFindAllMarkers.R
mcFindAllMarkers | R Documentation |
Adapted from https://gist.github.com/diazdc/1735102c243cd16acb1b1f3fd09a26e1 https://github.com/diazdc/seurat-extensions/blob/master/R/cluster_markers.R Instead of running FindAllMarkers, run FindMarkers() in parallel for each cluster.
mcFindAllMarkers(obj, nCore_v, onlyPos_v = F, test_v = "MAST", latent_v)
obj |
seurat object. Make sure clusters of interest are set as Idents() |
nCore_v |
number of cores to split on. |
onlyPos_v |
logical, passed to only.pos argument in FindMarkers. default F. TRUE - only output positive log2FC markers FALSE - output positive and negative markers |
test_v |
which test to use. Passed to test.use in FindMarkers |
latent_v |
vector of latent variables to account for in DE testing. |
data.table of markers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.