R/mmsplice.R
get_exon_inclusion_junction.Rd
Compute the resulting junctions (junc_id) for exon inclusion of given exon and transcript.
get_exon_inclusion_junction(exon_id, exons, transcript_id, transcripts)
A list of junction IDs formatted as <chr>_<left>_<right>_<strand>
.
transcript_id <- c("ENST00000243347", "ENST00000460812")
exon_id <- c("ENSE00000840477", "ENSE00003481758")
exons <- c("chr2:152222570-152222731:+", "chr2:152226534-152226762:+")
transcripts <- toy_transcripts
get_exon_inclusion_junction(exon_id, exons, transcript_id, transcripts)
#> $ENST00000243347
#> [1] NA NA
#>
#> $ENST00000460812
#> [1] NA NA
#>