PyComplexHeatmap icon indicating copy to clipboard operation
PyComplexHeatmap copied to clipboard

How to customize the order of the x-axis coordinates of ClusterMapPlotter?

Open z626093820 opened this issue 5 months ago • 4 comments

For example, the coordinate order of the X axis is ABCDEF, I want to change it to CDABFE. THANK YOU!!!

z626093820 avatar Aug 26 '25 00:08 z626093820

You can get the ax object and do whatever you want, see: https://github.com/DingWB/PyComplexHeatmap/issues/116#issuecomment-3130450916

DingWB avatar Aug 26 '25 02:08 DingWB

You can get the ax object and do whatever you want, see: #116 (comment)

Is there any parameter that can keep the x-axis arrangement of the original df? When I turn off row and column clustering, the drawing will still disrupt the sorting. THANK YOU!

z626093820 avatar Aug 26 '25 02:08 z626093820

Please provide an example for me to reproduce this issue; the version of PyComplexHeatmap should also be reported.

DingWB avatar Aug 26 '25 03:08 DingWB

Please provide an example for me to reproduce this issue; the version of PyComplexHeatmap should also be reported.

Sorry, I got row_cluster and row_dendrogram wrong, I only used row_dendrogram=False and not use row_cluster=False. Thank you for your answer!

z626093820 avatar Aug 26 '25 03:08 z626093820