UCSCView-class {rtracklayer} | R Documentation |
An object representing a view of a genome in the UCSC browser.
Calling browserView(session, range = range(object), track
= trackNames(object), ...)
creates BrowserView
of range
with visible
tracks specified by track
. track
may be an instance of
UCSCTrackModes
. Arguments in ...
should
match parameters to a
ucscTrackModes
method for creating a
UCSCTrackModes
instance that will be merged with and override
modes indicated by the track
parameter.
hgsid
:Object of class "numeric"
, which
identifies this view to UCSC.
session
:Object of class "BrowserSession"
to
which this view belongs.
Class "BrowserView"
, directly.
activeView(object)
Obtains a logical indicating whether this view is the active view.
range(object)
Obtains the
GRanges
displayed by
this view.
range(object) <- value
Sets the
GRanges
or
RangesList
displayed by
this view.
trackNames(object)
Gets the names of the visible tracks in this view.
trackNames(object) <- value
Sets the visible tracks by name.
visible(object)
Get a named logical vector indicating whether each track is visible.
visible(object) <- value
Set a logical vector
indicating the visibility of each track, in the same order as
returned by visible(object)
.
ucscTrackModes(object)
Obtains the
UCSCTrackModes
for this view.
ucscTrackModes(object) <- value
Sets the
UCSCTrackModes
for this view. The
value
may be either a UCSCTrackModes
instance or a
character vector that will be coerced by a call to
ucscTrackModes
.
Michael Lawrence
browserView
for creating instances of this class.