max_text_height {ComplexHeatmap} | R Documentation |
Maximum height of text
max_text_height(text, ...)
text |
a vector of text |
... |
pass to |
Simply calculate maximum height of a list of textGrob
objects.
A unit
object.
Zuguang Gu <z.gu@dkfz.de>
max_text_height
is always used to calculate the size of viewport when there is text annotation (anno_text
)
x = c("a", "b\nb", "c\nc\nc") max_text_height(x, gp = gpar(fontsize = 10))