is_canonical: test if junction is canonical junction

View source: R/is_canonical.R

is_canonicalR Documentation

test if junction is canonical junction

Description

test if junction is canonical junction

Usage

is_canonical(junc_id, ref_junc, exons_gr)

Arguments

junc_id

vector of junction id to test

ref_junc

vector of canonical reference junctions

exons_gr

GRanges of canonical exons

Value

logical vector of same length as junc_id indicating if the input junc_id is in the set of reference junctions ref_junc or consists of two directly adjacent positions (intron retention) and overlaps (completely within) a canonical exon from exons_gr.


TRON-Bioinformatics/splice2neo documentation built on July 27, 2024, 3:25 a.m.