Filter candidates that do not overlap any pos_exons, and are internal Then get the left and right exons for each candidate Return a named list with three GRanges objects: candidates, left_exons, right_exons
Create a sample GRanges with one negative coef transcript and one positive coef transcripts This dataset is designed to include a mutually exclusive exons between exon_rank 3 of tx_id 1 and exon_rank 3 of tx_id 2. There is also a skipped exon event at exon_rank 5 of tx_id 1.
Create a sample GRanges with one negative coef transcript and two positive coef transcripts This dataset is designed to include a skipped exon event at exon_rank 3 and 5 of tx_id 1 happening between both tx_id 2 and tx_id 3