get.gene.locations: Helper function to set gene locations on plot.

Description Usage Arguments Value Author(s) References

Description

Figure out gene locations to make room for gene names. Written original by Dan Gatti 2013-02-13

Usage

1
2
get.gene.locations(locs, xlim, text_size = 3, str_rect = c("iW", "i"),
  n_rows = 10, plot_width = 6, ...)

Arguments

locs

tbl of gene information

xlim

X axis limits

text_size

size of text (default 3)

str_rect

character spacing on left and right of rectangles (default c("iW","i"))

n_rows

desired number of rows (default 10)

plot_width

width of default plot window (in inches)

Value

list object used by gene_plot

Author(s)

Brian S Yandell, brian.yandell@wisc.edu Daniel Gatti, Dan.Gatti@jax.org

References

https://github.com/dmgatti/DOQTL/blob/master/R/gene.plot.R


byandell/CCSanger documentation built on May 13, 2019, 9:26 a.m.