trackInfo,Track-method {igvR} | R Documentation

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

### Description

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

### Usage

    ## S4 method for signature '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)

[Package igvR version 1.6.1 Index]