track<--methods {rtracklayer} | R Documentation |
Methods for loading RangedData
instances (tracks)
into genome browsers.
## S4 method for signature 'BrowserSession, RangedData': track(object, name = deparse(substitute(track)), view = FALSE, ...) <- value
object |
A BrowserSession into which the
track is loaded. |
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.
track(object, name = deparse(substitute(track)),
view = FALSE, format = "gff") <- value
:
Load the tracks into the session using the specified
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)