Reading Expression from a write.exprs file
2
0
Entering edit mode
@osmanmitedu-364
Last seen 10.3 years ago
Hey, After running analysis on an Affybatch, and saving the result using write.exprs into a certain file, how can I read this information back into an eset? TIA Osman
• 1.6k views
ADD COMMENT
0
Entering edit mode
@rafael-a-irizarry-205
Last seen 10.3 years ago
you need to use read.table and the new("ExprSet", ...). for more read the help files on read.table and exprSet do you know about "save"? using save and load R objects using the functions "save" and "load". On Thu, 26 Jun 2003 osman@mit.edu wrote: > Hey, > > After running analysis on an Affybatch, and saving the result using write.exprs > into a certain file, how can I read this information back into an eset? > > TIA > > Osman > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT
0
Entering edit mode
@osmanmitedu-364
Last seen 10.3 years ago
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
ADD COMMENT
0
Entering edit mode
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@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@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD REPLY

Login before adding your answer.

Traffic: 393 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6