draw_key_gene_arrow: Custom gene arrow legend drawing function
Description
Generates gene arrow-shaped legend symbols (polygons) for ggplot2 legends
Usage
draw_key_gene_arrow(data, params, size)
Value
grid::polygonGrob object, gene arrow-shaped legend symbol
Arguments
- data
Legend data (contains aesthetic mapping parameters like fill, colour, size)
- params
Legend parameters (automatically passed by ggplot2)
- size
Legend symbol size