geom_th_text | R Documentation |
add row or column labels
geom_th_text(
mapping = NULL,
name = NULL,
th_data = NULL,
subset = NULL,
side = "left",
nudge_x = 0,
nudge_y = 0,
na.rm = FALSE,
show.legend = NA,
inherit.aes = FALSE,
...
)
mapping |
Set of aesthetic mappings created by |
name |
the name of the heatmap to add row or column labels. |
th_data |
a data frame. It should include one column named as
|
subset |
a logical vector to specify rows or columns to add labels |
side |
a character value selected from left, right, top or bottom. left and right to annotate row names; top or bottom to annotate column names. |
nudge_x |
a value to shift the text horizontally. |
nudge_y |
a value to shift the text vertically. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
Other arguments passed on to |
geom layer
Ruizhu Huang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.