Question: Change sample order in plotHeatmap?
0
gravatar for konsta.kukkonen
13 days ago by
konsta.kukkonen0 wrote:

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

ADD COMMENTlink modified 13 days ago • written 13 days ago by konsta.kukkonen0
1

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

ADD REPLYlink written 13 days ago by jordi.planells380

Nope. That solved it. Thanks!

ADD REPLYlink written 12 days ago by konsta.kukkonen0

You are welcome! Happy to help!

ADD REPLYlink written 12 days ago by jordi.planells380
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1271 users visited in the last hour
_