SingleR works with a reference dataset where the cell type labeling is given. Given a reference dataset of samples (single-cell or bulk) with known labels, it assigns those labels to new cells from a test dataset based on similarities in their expression profiles.
SingleCellExperiment inherited object. Required.
character. A string specifying which assay to use for expression profile identification. Required.
SingleCellExperiment inherited object. An
optional customized reference dataset. Default NULL
.
A single character. A string specifying the column in
colData(useSCERef)
that stores the cell type labeling. Default
NULL
.
A single character. A string that specifies a reference
provided by SingleR. Choose from "hpca", "bpe", "mp", "dice", "immgen",
"mouse", "zeisel"
. See detail. Default "hpca"
.
A string for cell type labeling level. Used only when using
some of the SingleR built-in references. Choose from "main", "fine",
"ont"
. Default "main"
.
A string for whether to use gene symbols or Ensembl IDs
when using a SingleR built-in reference. Should be set based on the type of
rownames
of inSCE
. Choose from "symbol", "ensembl"
.
Default "symbol"
.
A single character. A string specifying the column name
in colData(inSCE)
that stores clustering labels. Use this when users
want to only label cells on cluster level, instead of performing calculation
on each cell. Default NULL
.
Input SCE object with cell type labeling updated in
colData(inSCE)
, together with scoring metrics.