Skip to content
Prev 9184 / 21312 Next

[Bioc-devel] Making transcriptLength function a method in GenomicFeatures?

Hi Johannes,

We can make transcriptLengths() a generic but isn't the situation
similar to the extractTranscriptSeqs() situation that you brought
in January 
(https://stat.ethz.ch/pipermail/bioc-devel/2016-January/008570.html) for 
which adding the ellipsis to the argument list of the
function and proper forwarding of the extra arguments did the trick?
In the case of transcriptLengths() the extra arguments would be
forwarded to the internal calls to transcripts(), exonsBy(), cdsBy(),
fiveUTRsByTranscript(), and threeUTRsByTranscript(), and so
transcriptLengths() would work out-of-the-box on EnsDb objects.
Would that work?

H.
On 04/30/2016 04:05 AM, Rainer Johannes wrote: