[Bioc-devel] Importing generic functions from other pkgs and defining methods on them?

Seth Falcon sfalcon at fhcrc.org
Fri Mar 9 07:45:26 CET 2007


Benilton Carvalho <bcarvalh at jhsph.edu> writes:

> Since we're on this topic... that reminds me a problem I've been
> trying to solve in the last days.
>
> I have an "image" method (S4), which doesn't work when I build/
> install the package... But it does work if I source the file that
> defines the method (after loading the just-built package).
>
> Any chance this would be somewhat similar/related to what Wolfgang
> described?

Yes.



But without a bit more detail that's all I could say.  

So in oligo there is an image method, but it seems to work (dispatch)
fine for me after installing oligo.  For example:

library(oligo)
> ff = new("FeatureSet")
> image(ff)
Error in if (tolower(manufacturer(x)) == "affymetrix") { : 
        argument is of length zero
> 


+ seth

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org



More information about the Bioc-devel mailing list