geom_subgene_arrow() draws subgenes segments within gene arrows drawn with
As standard for 'ggplot2'.
grid::unit() object giving the width of the
arrowhead. Defaults to 4 mm. If the gene is drawn smaller than this width,
only the arrowhead will be drawn, compressed to the length of the gene.
grid::unit() object giving the height of the
arrowhead. Defaults to 4 mm.
grid::unit() object giving the height of the body
of the arrow. Defaults to 3 mm.
The start and end locations of the subgene are given with the
geom_subgene_arrow() requires some information about
the 'parent' gene, provided with the same aesthetics used for
geom_gene_arrow(): start and end locations of the 'parent' gene with the
xmax aesthetics, the molecule with the
y aesthetic, and
optionally the direction with the
forward aesthetic. If the geometry of
the parent gene has been changed with
arrow_body_height, identical parameters should be given to
xmin,xmax (start and end of the gene; will be used to determine gene orientation)
xsubmin,xsubmax (start and end of subgene segment). Should be consistent
forward (if FALSE, or coercible to FALSE, the gene arrow will be drawn in
the opposite direction to that determined by