track<–methods {rtracklayer} | R Documentation |
Methods for loading RangedData
instances (tracks)
into genome browsers.
## S4 replacement method for signature 'BrowserSession,RangedData' track(object, name = deparse(substitute(track)), view = FALSE, ...) <- value
object |
A |
value |
The track(s) to load. |
name |
The name(s) of the track(s) being loaded. |
view |
Whether to create a view of the track after loading it. |
... |
Arguments to pass on to methods. |
The following methods are defined by rtracklayer. A browser
session implementation must implement a method for either
RangedData
or RangedDataList
. The base browserSession
class will delegate appropriately.
Load this track into the session.
Load all tracks into the session.
track(object, name = deparse(substitute(track)),
view = FALSE, format = "gff", ...) <- value
:
Load the tracks into the session using the specified
format
. The arguments in ...
are passed on to
export.ucsc
, so they could be slots in a
TrackLine
subclass or parameters to pass
on to the export function for format
.
track
for getting a track from a session.
## Not run: session <- browserSession() track <- import(system.file("tests", "v1.gff", package = "rtracklayer")) track(session, "My Track") <- track ## End(Not run)