[Bioc-devel] Making transcriptLength function a method in GenomicFeatures?
Johannes.Rainer at eurac.edu
Sat Apr 30 13:05:22 CEST 2016
I was wondering, you think it would be possible to make the transcriptLength function in GenomicFeatures a method and export that? Reason is that I have also implemented a transcriptLength function (actually presently a method in order to allow that to be used for EnsDb and TxDb objects), but this causes the warning
The following object is masked from 'package:GenomicFeatures':
on package loading.
Just in case, that’s the code from my package:
setGeneric("transcriptLengths", function(x, with.cds_len=FALSE,
setMethod("transcriptLengths", "EnsDb", function(x, with.cds_len=FALSE, with.utr5_len=FALSE,
return(.transcriptLengths(x, with.cds_len=with.cds_len, with.utr5_len=with.utr3_len,
More information about the Bioc-devel