modPlot | R Documentation |
visualize a gene model from a resource that can be processed via GeneRegionTrack in Gviz
modPlot(symbol, genome = "hg19", annoResource = Homo.sapiens, getter = exonsBy, byattr = "gene", expansion = 0, collapseTranscripts = "meta", useGeneSym = TRUE, plot.it = TRUE, ...)
symbol |
gene symbol resolvable in |
genome |
character tag |
annoResource |
OrganismDb or TxDb instance |
getter |
exon GRanges generator |
byattr |
value of "by" argument to |
expansion |
numeric, number of bp upstream and downstream of gene region to include |
collapseTranscripts |
if TRUE a single gene model is provided; if FALSE all transcripts displayed separately |
useGeneSym |
if TRUE each transcript labeled with gene symbol, if FALSE, UCSC labels are used |
plot.it |
if TRUE plotTracks is run, if FALSE, Gviz track object is returned |
... |
passed to |
In cases of overlapping gene regions, transcript information from another gene may appear in the plot.
depends on value of plot.it
modPlot("NISCH", collapse=FALSE, useGeneSym=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.