gvizPlot | R Documentation |
gvizPlot
generates a plot around one or many given query elements with all
overlapping subject hits. In addition, each generated plot can be stored in
the gvizPlots
folder get or set by gvizPlotsFolder
. A maximum of 25
elements can be plotted per track.
gvizPlot( OGREDataSet, query, gvizPlotsFolder = metadata(OGREDataSet)$gvizPlotsFolder, trackRegionLabels = setNames(rep("ID", length(OGREDataSet)), names(OGREDataSet)), trackShapes = setNames(rep("fixedArrow", length(OGREDataSet)), names(OGREDataSet)), showPlot = FALSE, extendPlot = c(-300, 300), nElements = 25 )
OGREDataSet |
A OGREDataSet. |
query |
A character vector of one or many query elements ID's (i.e. Gene ID's). |
gvizPlotsFolder |
A character pointing to the plot(s) output directory.
If not supplied a folder is automatically generated and can be accessed by
|
trackRegionLabels |
A labeled character vector that defines the type of
label that is displayed for query and subject elements during plotting.
Vector values represent the type of label and vector labels define the type
of subject element. In the following example
|
trackShapes |
A labeled character vector that defines the type of
shape in which every dataset's elements are displayed.
Vector values represent the type of shape and vector labels define the type
of subject element. In the following example
|
showPlot |
|
extendPlot |
|
nElements |
|
OGREDataSet.
myOGRE <- makeExampleOGREDataSet() myOGRE <- loadAnnotations(myOGRE) myOGRE <- fOverlaps(myOGRE) myOGRE <- gvizPlot(myOGRE,query="ENSG00000142168")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.