plot_gene | R Documentation |
Plots a gene from a specified assembly using Gviz package. Optionaly plots some data (e.g. read alignments). Enables zooming.
plot_gene(
symbol,
genome,
tracks = NULL,
add.data = NULL,
add.ann = NULL,
add.ideogram = TRUE,
from = NULL,
to = NULL,
biomart = NULL,
ylim = NULL,
...
)
symbol |
symbol of the gene to plot. Will be used to search using BiomartGeneRegionTrack. |
genome |
genome assembly (e.g. mm10 or hg38). |
tracks |
additional tracks to add. |
add.data |
list with data to be added as a DataTrack. |
add.ann |
annotation information. |
add.ideogram |
whether to add an IdeogramTrack (FALSE by default to spead up testing). |
from |
start genomic coordinates. |
to |
end genomic coordinates. |
biomart |
mart object (optional). |
ylim |
sets the limits for y-axis (default: NULL). |
... |
further arguments passed to plotTracks. |
nothing but produces a plot as side effect.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.