This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Change sample order in plotHeatmap?

Hello,

I'm running deeptools v3.5.0 and Python v3.7.4 in linux machine

I'm wondering if there is a built-in way to modify sample order in the heatmap produced by plotHeatmap, or if that could be done during the computeMatrix step? I can see few optional low-tech solutions, like changing the names of bigWig files or changing the order in photoshop or even changing the ordering of the columns in matrix with some command line text editing tools, but I was thinking that the safest (and the way best serving my lazyness) would be if this could be defined while giving the commands.

To be clear I'm asking for the order of samples, not regions. The documentation on that part was very good! But apart from giving optional labels with --samplesLable, I can't figure out how to change the sample order. Any suggestions?

Best, -Konsta

deeptools plotheatmap computematrix

Have you tried to feed the .bigwigs manually to computeMatrix in the order you want them to appear?

Is there any other way to automatize it ? In my case, I've lots of samples with multiple parameters that are changing (E.g., species, histone modifications, sequencing parameter, etc)... a for loop is not even an option...

0 answers

No answers yet.

Log in to answer this question.