Re: [Rd] Dispatch method on S3 or S4 class

2010-09-07 Thread Martin Morgan
On 09/06/2010 10:00 PM, Dario Strbenac wrote: > Hello, > > I've been attempting to make a generic method that dispatches on the first > argument, which can be either an S3 or an S4 class. This is as far as I've > gotten. Any suggestions about what to try next ? > > library(aroma.affymetrix) > lib

[Rd] Dispatch method on S3 or S4 class

2010-09-06 Thread Dario Strbenac
Hello, I've been attempting to make a generic method that dispatches on the first argument, which can be either an S3 or an S4 class. This is as far as I've gotten. Any suggestions about what to try next ? library(aroma.affymetrix) library(GenomicRanges) setGeneric("analyse", function(x, y, ..