filterTerminalExons(features, min_overhang = NA, return_index = FALSE)TxFeatures objectNA to remove all terminal exons sharing a splice
site with an internal exon.TxFeatures object with filtered features,
or indices of retained features if return_index = TRUE
predictTxFeatures predicts flanking terminal exons for each
identified splice junction. Thus splice junctions are guaranteed to
have flanking exons, even after filtering exons during merging with
mergeTxFeatures. However, many predicted terminal exons share
a splice site with predicted internal exons and are often contained
within them. Many of these predictions are unlikely to be real terminal
exons and are excluded before further analysis.
txf_filtered <- filterTerminalExons(txf)
Run the code above in your browser using DataLab