Skip to content
Prev 2960 / 21312 Next

[Bioc-devel] Making GenomicRanges::genome generic more generic ...

Hi Herve & Michael:

2011/11/4 Michael Lawrence <lawrence.michael at gene.com>:
I guess we share different opinions of what "awkward" means :-)

Going backwards: is it possible to have `...` in a setter anyway? I
mean, I guess I don't see where `...` would go in:

something(object) <- 'something'

though I do see `...` in the def for `setReplaceMethod` ... hmm.

anyway, with respect to (1) I'd argue that it's better err on the side
of things that "might be" (even if they don't yet exist in the
bioc-universe). Especially with functions as "generic" (excuse the
overloaded term -- here I mean non-specificly named) as a function
named "genome" (vs. "exonsByOverlaps") ... not that I'm arguing
anything, it seems like you're open to adding it back in to devel
(which is fine by me).
I'm fine w/ only adding it to devel if that's ok w/ everyone.

And Michael:
I wasn't sure if packages would pass checks if the generic defines a
function to take `...` but a setMethod() didn't include the `...` If
it's not necessary, then I wouldn't suggest modifying every method, I
was just anticipating the worst.
I see ... not sure what exactly you mean by that, but perhaps I missed
a relevant thread discussing the expectations of a generics
operations?

-steve