getExonDists: Get the closest 3' and 5' exons

Description Usage Arguments Value Author(s)

View source: R/readQueryFile.R

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

1
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


betsig/branchpointer documentation built on Sept. 27, 2021, 10:31 p.m.