| layTrack-methods {rtracklayer} | R Documentation |
Methods for loading trackSets into genome browsers.
layTrack(object, track, name = deparse(substitute(track)), view = FALSE, ...)
object |
A browserSession into which the
track is loaded. |
track |
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
trackSet or trackSets. The base browserSession
class will delegate appropriately.
layTrack(object, track, name = deparse(substitute(track)),
view = FALSE, format = "gff"):
Load the tracks into the session using the specified
format.
trackSet for getting trackSet instances
from a session.
## Not run:
session <- browserSession()
track <- import(system.file("tests", "v1.gff", package = "rtracklayer"))
layTrack(session, track, "My Track")
## End(Not run)