Description Usage Arguments Methods Examples
Methods for creating and getting browser views.
1 | browserView(object, range, track, ...)
|
object |
The object from which to get the views. |
range |
The |
track |
List of track names to make visible in the view. |
... |
Arguments to pass to methods |
The following methods are defined by rtracklayer.
browserView(object, range =
range(object), track = trackNames(object), imagewidth = 800,
...): Creates a
BrowserView of range with visible
tracks specified by track. The imagewidth parameter
specifies the width of the track image in pixels. track
may be an instance
of UCSCTrackModes. Arguments in ...
are passed to ucscTrackModes to create the
UCSCTrackModes instance that will override modes
indicated by the track parameter.
1 2 3 4 5 6 7 8 | ## Not run:
session <- browserSession()
browserView(session,
GRangesForUCSCGenome("hg19", "chr2", IRanges(20000, 50000)))
## only view "knownGene" track
browserView(session, track = "knownGene")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.