View source: R/Arthurs_cell_annotation_functions.R
plot the group annotation one by one on TSNE, using all the single cells rather than cells in dataset@sc_mat
1 2 3 | plot_scMeta_NotOnlySuperCell_by_category(dataset, Exp_Seurat,
identMatch = NULL, by_category = "timepoint", main = "",
addtext = T, rm_small_group = T, tagcell = NULL)
|
dataset |
dataset object with sc_mat slot |
Exp_Seurat |
Seurat object with @dr$tsne slot and @meta.data |
identMatch |
a named vector for renaming the clusters, by default it's ataset$cluster_annotation |
by_category |
which column of Exp_Seurat@meta.data shoule we plot (column name), by default it's "timepoint" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.