create_cluster_annotation | R Documentation |
Create a named list where names are the cell IDs and the values are the annotation stored in the given cluster.description.cn column of the given cluster.meta.data.df. If cluster.meta.data.df is set to NULL, annotation of cells are set to "NDA - Cluster X" where X is the cluster ID.
create_cluster_annotation( clusters, cluster.meta.data.df = NULL, cluster.id.cn = NULL, cluster.description.cn = NULL )
clusters |
A named list of the cell id and the assigned cluster id generated by a clustering method (e.g.: Seurat). |
cluster.meta.data.df |
A data.frame object with at least 2 columns named cluster.id.cn and cluster.description.cn. |
cluster.id.cn |
The column name to use for the IDs of the clusters. |
cluster.description.cn |
The column name to use for the description of the clusters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.