track<–methods {rtracklayer} | R Documentation

## Laying tracks

### Description

Methods for loading tracks into genome browsers.

### Usage

    track(object, ...) <- value

### Arguments

`object` | A `BrowserSession` into which the track is loaded.
`value` | The track(s) to load.
`...` | Arguments to pass on to methods. Can be: nameThe name(s) of the track(s) being loaded. viewWhether to create a view of the track after loading it.

### See Also

`track` for getting a track from a session.

### Examples

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

    ## End(Not run)

[Package rtracklayer version 1.52.1 Index]