| browserSession-class {rtracklayer} | R Documentation |
An object representing a genome browser session. Each
session corresponds to a set of loaded trackSet instances
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.
browserView(object, segment =
genomeSegment(object), track = tracks(object), ...)browserView of segment
for this session.
browserViews(object, ...)browserView instances belonging to
this session.activeView(object, ...)browserView that is currently
active in the session.genomeSegment(object, ...)genomeSegment
representing the segment of the genome currently displayed by the
browser (i.e. the segment shown by the active view) or a default
value (possibly NULL) if no views exist.
genomeSequence(object, segment =
genomeSegment(object), ...)segment from this session.laySequence(object, ...)layTrack(object, track, name = deparse(substitute(track)),
view = TRUE, ...)tracks into the session and optionally open a
view of the track.
trackSet(object, segment = genomeSegment(object),
name, ...)segment in the track stored as name
as a trackSet.
tracks(object, ...)close(con, ...)show(object, ...)Michael Lawrence
browserSession for obtaining implementations of this
class for a particular genome browser.