View source: R/annotate_cells.R
annotate_SingleR | R Documentation |
annotate individual cells with SingleR
annotate_SingleR(
data,
reference = "MonacoImmuneData",
labels_column = "label.fine",
...
)
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 |
data.frame containing labels for each cell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.