pachterlab / sleuth

Differential analysis of RNA-Seq
http://pachterlab.github.io/sleuth
GNU General Public License v3.0
305 stars 95 forks source link

cluster_transcripts = FALSE still cluster rows in plot_transcript_heatmap #208

Open bruvellu opened 5 years ago

bruvellu commented 5 years ago

If I pass cluster_transcripts = FALSE to the plot_transcript_heatmap, the transcripts are still clustered because the default in pheatmap is cluster_rows = TRUE.

This can be fixed by explicitly calling cluster_rows = FALSE after the line below: https://github.com/pachterlab/sleuth/blob/24ca2859f13d1eac588d6dd2ac90bf860b4fe07e/R/plots.R#L1085