Skip to contents

Get basic info about a track: its type, file format, source and S4 class name

Usage

# S4 method for Track
trackInfo(obj)

Arguments

obj

An object of base class Track

Value

A list with four fiels

Examples

  track <- Track(trackType="annotation", sourceType="file", fileFormat="bed",
                 trackName="demoTrack", onScreenOrder=NA_integer_, color="red",
                 height=40, autoTrackHeight=FALSE, minTrackHeight=50, maxTrackHeight=200,
                 visibilityWindow=100000)
trackInfo(track)
#> $trackType
#> [1] "annotation"
#> 
#> $fileFormat
#> [1] "bed"
#> 
#> $source
#> [1] "file"
#> 
#> $class
#> [1] "Track"
#>