Rewrite function getReducedExonRanges - use dplyr::summarise instead of lapply to collapse overlapping exon ranges - output is the same as replaced version
No need to parallelize
Calculation of Promoter Rank
Remove helper function getIntronRank
Rewrite function getIntronRanks - use dplyr instead of lapply - output is a vector instead of a list
Small modification to annotateAllIntronRanges to accommodate change in output type
Restructure annotation-data.R
Avoid re-computation of certain values in different helper functions
Single function for preparing promoter annotation : preparePromoterAnnotation
Remove unused argument transcriptRanges from getFirstExonRanges
reduceExonsByGene
getReducedExonRanges
- usedplyr::summarise
instead oflapply
to collapse overlapping exon ranges - output is the same as replaced versiongetIntronRank
getIntronRanks
- usedplyr
instead oflapply
- output is a vector instead of a listannotateAllIntronRanges
to accommodate change in output typeannotation-data.R
preparePromoterAnnotation
transcriptRanges
fromgetFirstExonRanges