View source: R/geom_th_segment.R
geom_th_segment | R Documentation |
add row or column labels
geom_th_segment(
mapping = NULL,
th_data = NULL,
name = 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 |
th_data |
a data frame. It should include one column named as
|
name |
the name of the heatmap to add row or column labels. |
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 segment line horizontally. |
nudge_y |
a value to shift the segment line 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.