Open ojziff opened 2 years ago
The row ordering should be kept in each row slice.
Can you send me the data, i.e., mat
and topVar
?
row_split = factor(topVar$database, levels = c(1,2))
cluster_rows = FALSE
cluster_row_slices = FALSE
The order of the slices will be defined by the order of topVar$database
. Within each slice, the row ordering should be kept.
Thanks @blueskypie but those arguments are already set and the row ordering is lost with row_split = factor(topVar$database, levels = c(1,2))
by the row ordering is lost
, do you mean the order of the slice is different from the order of topVar$database
?
or do you mean that, within each slice, the order of the rows are different from your expectation?
@ojziff I think it would be great if you can also attach the plot and explain your issue.
Hi @jokergoo I was getting the same issue. Using row_split seems to revert the order of rows back to the original mat, which can be circumvented by ordering mat by row_order before using Heatmap.
Hi @jokergoo
I am unable to control the heatmap ordering when using
row_split
androw_order
even when specifyingcluster_row_slices = FALSE
. The row order is correct when I don't specifyrow_split
.I have exactly the same issue with
column_split
Please could you advise how I can set the row/column order whilst using row/column split.
I am using ComplexHeatmap_2.13.1
Many thanks! Oliver