[Bioc-devel] plotPCA for BiocGenerics
Michael Love
michaelisaiahlove at gmail.com
Mon Oct 20 20:54:27 CEST 2014
I agree it depends on programming style. But to continue with the example,
it would have to be:
plot(as.mySpecialObjectPCA(mySpecialObject))
because we have many packages here with their own functions.
Wouldn't this just proliferate the number of classes instead of functions?
For every type of plot in my package, I would have to add a special class
branching off of mySpecialObject. Users would have to remember to convert
from mySpecialObject to mySpecialObjectPCA or mySpecialObjectMAPlot or
mySpecialObjectVarianceMeanPlot, etc.
[[alternative HTML version deleted]]
More information about the Bioc-devel
mailing list