| BrowserSession-class {rtracklayer} | R Documentation |
An object representing a genome browser session. Each
session corresponds to a set of loaded tracks
and a set of BrowserView instances. Note that
this is a virtual class; a concrete implementation is provided by each
backend driver.
A virtual Class: No objects may be
created from it. See browserSession for obtaining
an instance of an implementation for a particular genome browser.
This specifies the API implemented by each browser backend. Note that
a backend is not guaranteed to support all operations, and that each
backend often has additional parameters for each of the methods. See
the backend-specific documentation for more details. The only built-in
backend is UCSCSession.
browserView(object, range =
range(object), track = trackNames(object), ...)BrowserView of range
for this session.
browserViews(object, ...)BrowserView instances belonging to
this session.activeView(object, ...)BrowserView that is currently
active in the session.range(x, ...)RangesList
representing the range of the genome currently displayed by the
browser (i.e. the range shown by the active view) or a default
value (possibly NULL) if no views exist.
getSeq(object, range =
range(object), ...)range from this session.sequence(object, ...) <- valuetrack(object, name =
deparse(substitute(track)), view = TRUE, ...) <- valuetracks into the session and optionally open a
view of the track.
x[[i]] <- valuevalue into
session x, under the name i. Shortcut to above.x$name <- valuevalue into
session x, under the name name. Shortcut to above.track(object, ...)RangedData.
x[[i]]i from session
x. A shortcut to track.
x$namename from session
x. A shortcut to track.trackNames(object, ...)close(con, ...)show(object, ...)Michael Lawrence
browserSession for obtaining implementations of this
class for a particular genome browser.