Automatic annotation of Seurat object using SingleR package.
Source:R/Auto_annotation.R
AutoAnnotate_SingleR.RdPredict the cell type of Seurat object using SingleR package.
Usage
AutoAnnotate_SingleR(SeuratObj, ref, ref_type = c("bulk", "single-cell"))Arguments
- SeuratObj
Seurat object to annotate
- ref
Reference dataset, bulk RNA-seq or microarray data or single-cell data,
SummarizedExperimentorSingleCellExperimentobject containing a matrix of log-expression values with labels stored asref$label.- ref_type
type of reference dataset,
"bulk"(bulk RNA-seq) or"single-cell"(single-cell data) are supported.