Heatmap re-ordering in plotly
0
0
Entering edit mode
7.3 years ago
Joe 21k

I realise this isn't strictly bioinformatics, but I asked the same question on SO and got no reply so I'm hoping you guys might be able to help (http://stackoverflow.com/questions/41231318/prevent-plot-ly-reordering-matrix)

In an older version of plotly, the default behaviour was to plot a heatmap as specified in the matrix used to construct it, unless directed otherwise. Recently the default behaviour seems to have changed and now the x axis is organised in a non-natural number numerical sort (so 1 and 10,11,12,13 are next to one another etc.)

Does anyone have any idea how to stop this?

All the code and the 2 images (before and after) are in the SO thread linked above. All help appreciated.

heatmap visualisation • 2.7k views
ADD COMMENT

Login before adding your answer.

Traffic: 2011 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6