View source: R/geom_th_border.R
geom_th_border | R Documentation |
add a line to separate heatmaps
geom_th_border(
name,
side = "right",
gap = 0.5,
extend_y = c(0, 0),
extend_x = c(0, 0),
th_geom = "text",
...,
params_label = list(color = "black", size = 4, nudge_x = 0, nudge_y = 0, label = "")
)
name |
the name of the heatmap to add row or column labels. |
side |
a character value selected from left, right, top or bottom. left and right to add the vertical line; top or bottom to add the horizontal line. |
gap |
the gap between the border line and the heatmap |
extend_y |
a numeric vector with two elements. For example, |
extend_x |
a numeric vector with two elements. For example, |
th_geom |
"label" (for |
... |
Other arguments passed on to |
params_label |
a list of arguments to passed to |
geom layers
Ruizhu Huang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.