On Tue, 7 Sep 2010 20:41:14 -0400,
Kasper Daniel Hansen kasperdanielhan...@gmail.com wrote:
Seb That thread and the resources in Biobase assumes that you have a
class that extends Versioned. Doing so will help you in the long
run by providing you with updateObject (at the cost of some
Seb
That thread and the resources in Biobase assumes that you have a class
that extends Versioned. Doing so will help you in the long run by
providing you with updateObject (at the cost of some complexity).
However, it does not really help you if the existing class does not
extend Versioned.
In
Dear Christian
this post from Martin Morgan on class versioning in Bioconductor's
Biobase package might be relevant:
https://stat.ethz.ch/pipermail/bioc-devel/2006-May/000545.html
and also section 6 of this:
Dear Wolfgang
Thank you very much for pointing me to this link, in principle this
would answer my question: Method updateObject() of package Biobase would
be exactly what I am looking for. However, I have hoped that maybe there
is also a solution for S4 classes in general.
Somehow I feel
Dear all,
Since my package is based on S4 classes, I would like to know how to add
a slot to an existing S4 class without breaking the code of users of my
package.
Assume the following S4 class:
setClass(MyClass,
representation(name = character,
type = character,