get_no_overlap_exons: Optain set of non-overlapping exons

Description Usage Arguments Value

View source: R/optimise_ERs.R

Description

get_no_overlap_exons uses as input a gtf to optain set of non-overlapping exons. These can be used in gen_ERs as the opt_gr to optimise ER definitions.

Usage

1
get_no_overlap_exons(gtf, ucsc_chr, ignore.strand)

Arguments

gtf

Either a string if path to a .gtf file or a pre-imported gtf using import.

ucsc_chr

logical scalar, determining whether to add "chr" prefix to the seqnames of non-overlapping exons and change "chrMT" -> "chrM". Note, if set to TRUE and seqnames already have "chr", it will not add another.

ignore.strand

logical value for input into findOverlaps.

Value

GRanges object containing non-overlapping exons.


dzhang32/ODER documentation built on April 23, 2021, 11:21 p.m.