jianhong/ChIPpeakAnno

disjointExons removed in Bioconductor 3.17

Closed this issue · 1 comments

Hi Jianhong,

Thanks so much for your great package. I noticed that in the bioconductor development version 3.17, disjointExons method is removed from ensembldb and GenomicFeatures packages, causing your ChIPpeakAnno package to fail during build.

Would it be possible to fix this issue simply by changing your code like the following?

from R/privateUtil.R, line 616-618

disjointExons(ranges,
                                      aggregateGenes=FALSE,
                                      includeTranscripts=TRUE)

to

GenomicFeatures::exonicParts(ranges,
                                      linked.to.single.gene.only=TRUE)

Commits related to the removal of disjointExons:
ensembldb
GenomicFeatures

Thanks a lot for your time!