Closed seantma closed 6 years ago
Hi Sean!
Thanks for brining this to my attention. So sorry for my ultra-delayed response (I've been focusing on other projects). I've implemented a bug fix so that superheat now preserves the group order provided in membership.rows
or membership.cols
. Feel free to re-open if this didn't solve your problem (if indeed you still care about this problem!)
@rlbarter Thanks again for this awesome package!
I want to ask if it's possible to preserve the original order in the vector I provide to
membership.rows
option insuperheat
. Currently, the program seems to sort the vector order automatically.Below is some sample code to reproduce this question. I'm manually assigning a
group
vector to my random matrix.The results are below. Rather than keeping the original matrix order, the new heatmap is self sorted by the
group
value which I did not intend to.Is there a way to preserve the vector order I've provided to
membership.rows
ormembership.col
?