View source: R/SingleR_Seurat.R
RunSingleR | R Documentation |
Compute SingleR classification on a Seurat object
RunSingleR(
seuratObj = NULL,
datasets = c("hpca", "blueprint", "dice", "monaco", "immgen"),
assay = NULL,
resultTableFile = NULL,
rawDataFile = NULL,
minFraction = 0.01,
showHeatmap = TRUE,
maxCellsForHeatmap = 20000,
nThreads = NULL,
createConsensus = TRUE
)
seuratObj |
A Seurat object |
datasets |
One or more datasets to use as a reference. Allowable values are: hpca, blueprint, dice, monaco, and immgen. See celldex package for available datasets. |
assay |
The assay in the seurat object to use |
resultTableFile |
If provided, a table of results will be saved here |
rawDataFile |
If provided, the complete SingleR results will be saved to this file |
minFraction |
If provided, any labels present with fraction of this or fewer across cells will be converted to Unknown |
showHeatmap |
If true, heatmaps will be generated showing the SingleR calls |
maxCellsForHeatmap |
The heatmap will only be plotted if the total cells is below this number |
nThreads |
If provided, this integer value is passed to SingleR's BPPARAM argument. On windows ths is passed to BiocParallel::SnowParam(). On other OS it is passed to BiocParallel::MulticoreParam() |
createConsensus |
If true, a pseudo-consensus field will be created from the course labels from all datasets. Labels will be simplified in an attempt to normalize into the categories of Bcells, NK/T_cells and Myeloid. |
The modified seurat object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.