getGenomicRegion,igvR-method {igvR} | R Documentation |
Obtain the chromosome and coordiates of the currently display genomic region.
## S4 method for signature 'igvR' getGenomicRegion(obj)
obj |
An object of class igvR |
A list with four fields: chrom (character), start(numeric), end(numeric), string(character)
if(interactive()){ igv <- igvR() Sys.sleep(2) setGenome(igv, "hg38") Sys.sleep(5) showGenomicRegion(igv, "MEF2C") getGenomicRegion(igv) # list(chrom="chr5", start=88717241, end=88884466, string="chr5:88,717,241-88,884,466") }