trackSize,UCSCBedAnnotationTrack-method {igvR} | R Documentation

## Retrieve the size of theUCSCBedAnnotationTrack

### Description

Retrieve the size of theUCSCBedAnnotationTrack

### Usage

    ## S4 method for signature 'UCSCBedAnnotationTrack'
    trackSize(obj)

### Arguments

`obj` | An object of class UCSCBedAnnotationTrack

### Value

The number of elements

### Examples

    bed.filepath <- system.file(package = "rtracklayer", "tests", "test.bed")
    gr.bed <- import(bed.filepath)
    track.1 <- UCSCBedAnnotationTrack("UCSC bed", gr.bed,  color="blue", displayMode="SQUISHED")
    trackSize(track.1)

[Package igvR version 1.0.1 Index]