layTrack-methods {rtracklayer}R Documentation

Laying tracks

Description

Methods for loading trackSets into genome browsers.

Usage

layTrack(object, track, name = deparse(substitute(track)), view = FALSE, ...)

Arguments

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.

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.

object = "browserSession", track = "trackSet"
Load this track into the session.
object = "browserSession", track = "trackSets"
Load all tracks into the session.
object = "ucscSession", track = "trackSets"
layTrack(object, track, name = deparse(substitute(track)), view = FALSE, format = "gff"): Load the tracks into the session using the specified format.
object = "argoSession", track = "trackSet"
Load the track into the session.

See Also

trackSet for getting trackSet instances from a session.

Examples

## Not run: 
  session <- browserSession()
  track <- import(system.file("tests", "v1.gff", package = "rtracklayer"))
  layTrack(session, track, "My Track")
## End(Not run)

[Package rtracklayer version 1.2.2 Index]