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.
The
gheatmap()
function docs do not state how thedata
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.