ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

Feature request: More control over gheatmap border size

Open ammaraziz opened this issue 4 years ago • 0 comments
trafficstars

Prerequisites

  • [x] Have you read Feedback and follow the guide?
    • [x] make sure your are using the latest release version
    • [x] read the documents
    • [x] google your question/issue

Dear GuangchuangYu,

Thank you for creating ggtree it's a fantastic package. I have a feature request for gheatmap. Currently there is an argument to control the total width of the heatmap, where by each cell is adjusted to the total relative size of the heatmap:

width - total width of heatmap, compare to width of tree

My feature request is more control over the borders if it's possible. For example, only display horizontal borders, cell border size or width (not the cell size).

As per this discussion: https://groups.google.com/g/bioc-ggtree/c/mUGHhHVgFwM/m/1_G_1U4SBgAJ

You can set color = NA to remove the border complete but another argument in my opinion is needed, eg show_border=TRUE to enable/disable the borders.

I know this issue has been brought up a few times in the past (eg in the google groups), so apologies if I have missed something but I don't think this option exists. If it does can you demonstrate how to increase the cell border width?

ammaraziz avatar Sep 15 '21 04:09 ammaraziz