HeatmapTopic: Topic Heatmap

View source: R/TopicHeatmaps.R

HeatmapTopicR Documentation

Topic Heatmap

Description

This function produces a Heatmap showing how much each cell lies within each topic

Usage

HeatmapTopic(Object, topics, AnnoVector, AnnoName, clusterTopics = F)

Arguments

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

Value

pheatmap object

Examples

Heatmap(SeuratObj, DocTopMat, SeuratObj$annotation, "NameOfAnnotation")


JuliusCampbell/TITAN documentation built on May 24, 2023, 3:42 p.m.