Entering edit mode
2.6 years ago
573356741
•
0
The bottom bar is sample-type, and I want to sorted by sample-type and column_order of one type are automatically adjusted. How to get the oncoplot? Thanks
I think your answer is too general, try implementing it using the reference manual and ask specific questions if you have any. For starters, you might want to generate a matrix that follow your requirements (sorting etc.) and plot it using ComplexHeatmap
yeah,I want to get a oncoplot like this. And I can generate a matrix with wrong sorting. I can't get a right sorted list.
So your question is how to sort the matrix columns according to sample type?
Please follow the tutorial with the data provided in the tutorial, then modify your own data so that it can also be used to generate the plot: https://jokergoo.github.io/ComplexHeatmap-reference/book/oncoprint.html
yeap,thanks.