View source: R/TopicHeatmaps.R
HeatmapTopic | R Documentation |
This function produces a Heatmap showing how much each cell lies within each topic
HeatmapTopic(Object, topics, AnnoVector, AnnoName, clusterTopics = F)
Object |
Seurat object containing the data the model was created with. |
topics |
document-topic matrix |
AnnoVector |
Vector of cell annotations |
AnnoName |
Name of cell annotation |
clusterTopics |
Logical whether to cluster topics or not |
pheatmap object
Heatmap(SeuratObj, DocTopMat, SeuratObj$annotation, "NameOfAnnotation")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.