Zuguang Gu

Results 225 comments of Zuguang Gu

It is not easy to find it in the documentation (https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#get-orders-and-dendrograms-from-a-list-of-heatmaps). Basically you can do like: ```r ht = Heatmap(mat, row_km = 3, ...) ht = draw(ht) row_order(ht) ``` `row_order()`...

The row ordering should be kept in each row slice. Can you send me the data, i.e., `mat` and `topVar`?

@ojziff I think it would be great if you can also attach the plot and explain your issue.

You can first add an empty annotation and later add graphics in it: ```r m = matrix(rnorm(40), nrow = 4) Heatmap(m) + rowAnnotation(foo = anno_empty(border = FALSE, width = unit(2,...

According to the following two files: ``` ----> aa.nwk (((x1:8,x2:11):14,x3:17):5) ab.nwk (((x3:8,x2:11):14,x1:17):5)

The column names are from the matrix not from the dendrogram.

I see. I think it related when converting from the "Newick" format to a dendrogram, how the order of leave is calculated. See the following four experiments: ``` > d1...

I think I was wrong before. `x1 x2 x3` in the `Newick` file actually has nothing to do with `x1 x2 x3` in the matrix. Here is the process. With...

That is something I will improve in the future. I will keep this ticket open. Once I have done something, I will reply here.

In `anno_mark()`, set argument `side = "left"`.