[BioC] Limma: can't coerce Rgmodel into exprSet

James Wettenhall wettenhall at wehi.edu.au
Fri Jun 4 14:13:34 CEST 2004

Hi Mick,

On Fri, 4 Jun 2004, michael watson (IAH-C) wrote:
> I have a kooperberg bg corrected dataset in limma and I want to coerce
> it to an exprSet object so that I can do some other stuff with it.  I
> > as(RGmodel, "exprSet")
> Error in as(RGmodel, "exprSet") : No method or default for coercing
> "list" to "exprSet"

limma used to use regular lists for RG data but now it uses S4 
objects of class RGList.  Matt Ritchie wrote the kooperberg 
function, so I'm CCing the email to him.  He has (for the 
moment) used the old style (just a regular list).  You can 
convert it to the new style with:

RGobj <- new("RGList",.Data=RGmodel)

Hope this helps,

More information about the Bioconductor mailing list