Retrieve the size of theUCSCBedAnnotationTrack
trackSize-UCSCBedAnnotationTrack-method.Rd
Retrieve the size of theUCSCBedAnnotationTrack
Usage
# S4 method for UCSCBedAnnotationTrack
trackSize(obj)
Examples
bed.filepath <- system.file(package = "rtracklayer", "tests", "test.bed")
gr.bed <- rtracklayer::import(bed.filepath)
track.1 <- UCSCBedAnnotationTrack("UCSC bed", gr.bed, color="blue", displayMode="SQUISHED")
trackSize(track.1)
#> [1] 5