TrackDb-class {rtracklayer} | R Documentation |
Track Databases
Description
The TrackDb
class is an abstraction around a database of
tracks. Implementations include BrowserSession
derivatives and QuickloadGenome
. Here, a track is
defined as an interval dataset.
Accessor Methods
Every implementation should support these methods:
-
length(x)
: number of tracks -
names(x)
,trackNames(x)
: names of the tracks -
mcols(x)
: merged metadata on the tracks -
track(x, name)
,x$name
,x[[name]]
: get the track calledname
-
track(x, name) <- value
,x$name <- value
,x[[name]] <- value
: store the trackvalue
undername
. Different implementations will support different types forvalue
. Generally, an interval data structure likeGenomicRanges
.
Author(s)
Michael Lawrence
[Package rtracklayer version 1.66.0 Index]