annotate_SingleR: annotate individual cells with SingleR

View source: R/annotate_cells.R

annotate_SingleRR Documentation

annotate individual cells with SingleR

Description

annotate individual cells with SingleR

Usage

annotate_SingleR(
  data,
  reference = "MonacoImmuneData",
  labels_column = "label.fine",
  ...
)

Arguments

data

matrix of normalized expression values

reference

reference character string matching name of dataset to compare against (uses a selection from celldex package; default "MonacoImmuneData" covers most populations in PBMC). Alternatively, a custom SummarizedExperiment can be provided.

labels_column

name of labels column in the reference dataset to be used (labels.main or labels.fine if using celldex reference)

...

Passed on to SingleR::SingleR

Value

data.frame containing labels for each cell


Terkild/scutility documentation built on Jan. 16, 2025, 5:28 p.m.