View source: R/helpers_elements.R
draw_key_gene_arrow | R Documentation |
Generates gene arrow-shaped legend symbols (polygons) for ggplot2 legends
draw_key_gene_arrow(data, params, size)
data |
Legend data (contains aesthetic mapping parameters like fill, colour, size) |
params |
Legend parameters (automatically passed by ggplot2) |
size |
Legend symbol size |
grid::polygonGrob object, gene arrow-shaped legend symbol
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.