Entering edit mode
19 months ago
miguellarrazlopezdenovales
▴
20
Hi Everyone,
I am looking to plot a heatmap of gene expression together with hierarchical clustering of the samples. I can do each of them individually with DoHeatmap()
and PlotClusterTree()
, but I was hoping to find a way that combines them on the same plot. I was wondering if there is any tool that can help me do this? Thanks in advance!
You can make a pseudo bulk matrix with
AverageExpression()
and then usepheatmap
orComplexHeatmap
withcluster_cols
andcluster_rows
(pheatmap) set toTRUE