View source: R/geom_th_value.R
geom_th_addvalue | R Documentation |
show values in the heatmap
geom_th_addvalue(
mapping = NULL,
th_data = NULL,
name = NULL,
subset = NULL,
nudge_x = 0,
nudge_y = 0,
na.rm = FALSE,
show.legend = NA,
inherit.aes = FALSE,
...
)
mapping |
Set of aesthetic mappings created by |
th_data |
NULL or a data frame. Default is NULL. If a data frame is
provided, then it should include at least one column |
name |
the name of the heatmap to add row or column labels. |
subset |
a logical vector to subset rows or columns to add values |
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.