getExonDists {branchpointer} | R Documentation

## Get the closest 3' and 5' exons

### Description

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

### Usage

    getExonDists(query, exons, queryType)

### Arguments

`query` | GenomicRangesquery
`exons` | GenomicRanges containing exon co-ordinates. Should be produced by gtfToExons()
`queryType` | type of query. "SNP" or "region"

### Value

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.

### Author(s)

Beth Signal

[Package branchpointer version 1.13.0 Index]