draw_key_gene_arrow: Custom gene arrow legend drawing function

View source: R/helpers_elements.R

draw_key_gene_arrowR Documentation

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)

Arguments

data

Legend data (contains aesthetic mapping parameters like fill, colour, size)

params

Legend parameters (automatically passed by ggplot2)

size

Legend symbol size

Value

grid::polygonGrob object, gene arrow-shaped legend symbol


ggchord documentation built on Aug. 8, 2025, 6:15 p.m.