getExonDists {branchpointer} | R Documentation |
Finds the closest annotated exons from a genomic co-ordinate. Returns the distance to the 3' exon, distance to the 5' exon, ids of the 3' and 5' exon, and if the exons are from the same parent gene
getExonDists(query, exons, queryType)
query |
GenomicRangesquery |
exons |
GenomicRanges containing exon co-ordinates. Should be produced by gtfToExons() |
queryType |
type of query. "SNP" or "region" |
GenomicRanges with distance to the closest 3' and 5' exons, whether these exons are part of the same gene (i.e is the location intronic), and the identifiers for the 3' and 5' exons.
Beth Signal