Description Usage Arguments Value Author(s) References
Plot genes as rectangles followed by names. Stagger genes for easy reading. Written original by Dan Gatti 2013-02-13
1 2 3 4 5 6 7 8 9 10 11  | plot_feature_tbl(x, rect_col = "grey70", strand_col = c(`-` = "#1b9e77", `+`
  = "#d95f02"), type_col = c(gene = "black", pseudogene = "#1b9e77", other =
  "#d95f02"), text_size = 3, xlim = NULL, snp_pos = top_snps_tbl$pos,
  snp_lod = top_snps_tbl$lod, top_snps_tbl = NULL, snp_col = "grey70",
  extend = 5000, ...)
## S3 method for class 'feature_tbl'
autoplot(x, ...)
## S3 method for class 'feature_tbl'
plot(x, ...)
 | 
x | 
 tbl of gene information from   | 
rect_col | 
 fill color of rectangle (default "grey70")  | 
strand_col | 
 edge color of rectangle by strand from   | 
type_col | 
 color of type from   | 
text_size | 
 size of text (default 3)  | 
xlim | 
 horizontal axis limits (default is range of features)  | 
snp_pos | 
 position of SNPs in bp if used (default NULL)  | 
snp_lod | 
 LOD of SNPs (for color plotting)  | 
top_snps_tbl | 
 table from   | 
snp_col | 
 color of SNP vertical lines (default "grey70")  | 
extend | 
 extend region for SNPs in bp (default 5000)  | 
... | 
 additional arguments (not used)  | 
data frame of gene information (invisible)
Brian S Yandell, brian.yandell@wisc.edu Daniel Gatti, Dan.Gatti@jax.org
https://github.com/dmgatti/DOQTL/blob/master/R/gene.plot.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.