disjointExonsextracts the non-overlapping exon parts from a TxDb object or any other supported object.
disjointExons(x, ...)"disjointExons"(x, aggregateGenes=FALSE, includeTranscripts=TRUE, ...)
FALSE(default) exon fragments that overlap multiple genes are dropped. When
TRUE, all fragments are kept and the
gene_idmetadata column includes all gene ids that overlap the exon fragment.
tx_namemetadata column is included that lists all transcript names that overlap the exon fragment.
disjointExonscreates a GRanges of non-overlapping exon parts with metadata columns of gene_id and exonic_part. Exon parts that overlap more than 1 gene can be dropped with
tx_namemetadata column is included that lists all transcript names that overlap the exon fragment. This function replaces
prepareAnnotationForDEXSeqin the DEXSeq package.