layTrack-methods: Laying tracks

Description Usage Arguments See Also Examples

Description

Methods for loading tracks into genome browsers.

Usage

1
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

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

## End(Not run)

rtracklayer documentation built on Nov. 8, 2020, 6:50 p.m.