Message-ID: <4AB783DF.50105@fhcrc.org>
Date: 2009-09-21T13:47:11Z
From: Martin Morgan
Subject: [Bioc-devel] limma and NChannelSet
In-Reply-To: <4AB780AB.7010002@ebi.ac.uk>
Audrey Kauffmann wrote:
> Dear all,
>
> As far as I know, RGList is the format expected from most limma
> functions to handle two colour arrays. I was wondering if there is a
> plan to make it possible to use limma functions on NChannelSet objects?
>
> Also, is the following the best way to convert a NChannelSet (NCS) into
> a RGList?
>
> RG <- new("RGList", list(R = assayData(NCS)$R, G = assayData(NCS)$G))
Hi Audrey --
Unfortunately, NChannelSet doesn't specify the names of the channels, so
there is no certainty that it contains R and G.
The 'convert' library defines a method as(rglist, "NChannelSet") which
might provide additional data to be moved between classes, e.g.,
library(convert)
selectMethod(coerce, c("RGList", "NChannelSet"))
Martin
>
> Thank you,
> Audrey
>