Entering edit mode
                    4.4 years ago
        v.johnson
        
    
        ▴
    
    30
    I am producing a heatmap using RNAseq data and using heatmap.2 for my plot production. However the full GO terms keep on being cut off is there anyway to prevent this? Thank you
> png("plot_2.png", height = 900, width = 900)
heatmap.2(highly_variable_lcpm, 
          col=rev(morecols(50)),
          trace="column", 
          main="Top 30 most variable genes across LR versus CN samples",
          ColSideColors=col.cell,scale="row")
dev.off()
You should be able to use the
rowCexparameter to make the row labels smaller. I'd suggest switching to ComplexHeatmap if it's not a big deal to change packages. It's much more customizable and looks a LOT better too.