[BioC] Reading Expression from a write.exprs file

Rafael A. Irizarry ririzarr at jhsph.edu
Thu Jun 26 14:55:23 MEST 2003


what you want is more like 
neset<- new("exprSet",exprs = as.matrix(esetdata))

read the help file and/or vignette for more info
On Thu, 26 Jun 2003 osman at mit.edu wrote:

> I had tried doing that but it didn't work:
> 
> 
> > esetdata <- read.table(file="myfile.txt",sep="\t")
> 
> > neset<- new("exprSet",exprs = eset)
> Error in validObject(.Object) : Invalid "exprSet" object: Invalid object for 
> slot "exprs" in class "exprSet": got class "data.frame", should be or extend 
> class "matrix"
> 
> thanks
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list