YuLab-SMU / ggtree

:christmas_tree:Visualization and annotation of phylogenetic trees
https://yulab-smu.top/treedata-book/
830 stars 172 forks source link

data formatting for ggheatmap() #536

Open nick-youngblut opened 1 year ago

nick-youngblut commented 1 year ago

The gheatmap() function docs do not state how the data parameter MUST be formatted in order to match the data in the table to the tip labels in the tree plot (https://rdrr.io/bioc/ggtree/man/gheatmap.html).

It would be helpful to have more information in the docs on how to format the data. The gheatmap docs in the book do not seem to describe the format of the data parameter either. One can determine this by looking at the example data, but then the user is inferring the "rules" instead of having an explicit description.