[BioC] Invalid "marrayInfo"
Hongxian He
hongxian at pcbi.upenn.edu
Fri Jul 25 15:15:06 MEST 2003
Hi, Juerg:
I just happened to encounter the same problem today. The error lies in
the following command in read.marrayInfo():
> descript <- new("marrayInfo", maNotes=notes)
Error in validObject(.Object) : Invalid "marrayInfo" object: Invalid
object for slot "maInfo" in class "marrayInfo": got class "NULL", should
be or extend class "data.frame"
The problem is that the constructor of marrayInfo does not allow maInfo
slot to be empty. The error disappears if you give the maInfo, e.g.
> descript <- new("marrayInfo",
maInfo=data.frame(c("trt","ref","ref","trt")), maNotes=notes)
Thus for now, you can modify the function to pass
in the corresponding maInfo (add maInfo=maInfo to the parameter list,
then change the above line to
descript <- new("marrayInfo", maInfo=maInfo, maNotes=notes)
cheers,
Hongxian
On Thu, 24 Jul 2003, Straubhaar, Juerg wrote:
> Using the command line:
>
>
>
> * swirl.samples<-read.marrayInfo(file.path(datadir,
> "SwirlSample.txt"))
>
>
>
> directly out of the Vignette: Introduction to the Bioconductor
> marrayInput packacke, I get the following error:
>
>
>
> Error in validObject(.Object) : Invalid "marrayInfo" object: Invalid
> object for slot "maInfo" in class "marrayInfo": got class "NULL", should
> be or extend class "data.frame"
>
>
>
> I couldn't parse my sample information into the maInfo object and I
> noticed it doesn't work with the Bioconductor example file either. Has
> the marrayInfo Class changed?
>
>
>
> Juerg Straubhaar,
>
> Umass Med
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>
--
Hongxian He
Postdoctoral Researcher
Center for Bioinformatics
University of Pennsylvania
More information about the Bioconductor
mailing list