makeBranchpointWindowForExons {branchpointer} | R Documentation |
Generate branchpoint window regions corresponding to annotated exon(s) within a queried gene, transcript or exon id
makeBranchpointWindowForExons(id, idType, exons, forceClosestExon = FALSE)
id |
identifier(s) for the query gene/transcript/exon id |
idType |
type of id to match in the exon annotation file ( |
exons |
GRanges containing exon co-ordinates. |
forceClosestExon |
Force branchpointer to find the closest exon and not the exon annotated as 5' to the query |
Granges with formatted query
Beth Signal
smallExons <- system.file("extdata","gencode.v26.annotation.small.gtf",package = "branchpointer") exons <- gtfToExons(smallExons) windowquery <- makeBranchpointWindowForExons("ENSG00000139618.14", "gene_id", exons) windowquery <- makeBranchpointWindowForExons("ENST00000357654.7", "transcript_id", exons) windowquery <- makeBranchpointWindowForExons("ENSE00003518965.1", "exon_id", exons)