draw_gene: Draw a gene on a plot

Description Usage Arguments

View source: R/refflat.R

Description

Draw a gene on a plot

Usage

1
2
draw_gene(gene_data, y, arrowhead_length = 0.125, angle = 15,
  lwd = 2)

Arguments

gene_data

list. List representing the gene.

y

numeric. The y coordinate at which to draw the gene.

arrowhead_length

numeric. Length of the edges of the arrow head (in inches).

angle

numeric. Angle from the shaft of the arrow to the edge of the arrow head.

lwd

numeric. Weight of lines.


anthony-aylward/refflat documentation built on Nov. 9, 2019, 1:45 p.m.