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]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel