Description Usage Arguments Value Examples
Can be used to add cell types to cluster numbers
1 |
fsce |
An object of class |
labels |
dataframe of new labels. Must contain at least one column of matching variables (e.g. cell_id or k_cluster) |
by |
column name labels to match in colData of |
expt |
Data to use for match labels
(default is |
fsce with all labels
in expt
colData.
1 2 3 4 5 6 7 8 | # Add cell_type labels to PBMC data
labels <- data.frame(k_cluster = as.factor(c("1", "2", "3", "4", "5", "6")),
label = c("MC", "NK", "NK+T", "MC", "MK", "CD4/8 T"))
fsce <- add_label(fsce_small, labels)
SingleCellExperiment::colData(fsce[["rnaseq"]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.