Entering edit mode
2.5 years 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 usepheatmaporComplexHeatmapwithcluster_colsandcluster_rows(pheatmap) set toTRUE