expression set objects
1
0
Entering edit mode
Peevi Ijkl ▴ 170
@peevi-ijkl-4360
Last seen 10.2 years ago
Hi list.. I am trying to create an expression set object..here is what i did so far.. pd <- read.AnnotatedDataFrame( "target.txt", header=T, row.names=1, sep=";" ) pData(pd) expression_data <- ReadAffy( filenames = rownames (pData(pd)) ) expression_data rma_expression_data <-rma(expression_data) rma_data <- exprs(rma_expression_data) now i want to create an expression set object from the above using the following: ALLSet <- new("ExpressionSet", exprs =rma_data, phenoData = pd, + annotation = "hgu95av2") but I am getting the following error when i use the above Error in validObject(.Object) : invalid class "ExpressionSet" object: 1: row numbers differ for assayData members invalid class "ExpressionSet" object: 2: sample numbers differ for assayData members while if i use rma_expression_data at the highlighted area am getting the following error: Error in function (classes, fdef, mtable) : unable to find an inherited method for function "annotatedDataFrameFrom", for signature "ExpressionSet" any help would be appreciated. thanks peevi [[alternative HTML version deleted]]
Annotation Annotation • 1.6k views
ADD COMMENT
0
Entering edit mode
@vincent-j-carey-jr-4
Last seen 10 weeks ago
United States
what is your sessionInfo() result? On Thu, Jan 13, 2011 at 10:58 PM, Peevi Ijkl <ipeevi at="" yahoo.com=""> wrote: > Hi list.. > I am trying to create an expression set object..here is what i did so far.. > > pd <- read.AnnotatedDataFrame( "target.txt", header=T, row.names=1, sep=";" ) > pData(pd) > expression_data <- ReadAffy( filenames = rownames (pData(pd)) ) > expression_data > rma_expression_data <-rma(expression_data) > rma_data <- exprs(rma_expression_data) > > now i want to create an expression set object from the above using the > following: > ALLSet <- new("ExpressionSet", exprs =rma_data, phenoData = pd, > + annotation = "hgu95av2") > but I am getting the following error when i use the above > > Error in validObject(.Object) : > ?invalid class "ExpressionSet" object: 1: row numbers differ for assayData > members > invalid class "ExpressionSet" object: 2: sample numbers differ for assayData > members > > while if i use rma_expression_data at the highlighted area am getting the > following error: > Error in function (classes, fdef, mtable) ?: > ?unable to find an inherited method for function "annotatedDataFrameFrom", for > signature "ExpressionSet" > > any help would be appreciated. > > thanks > peevi > > > > > ? ? ? ?[[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor >
ADD COMMENT
0
Entering edit mode
Am sorry I dont understand your question ________________________________ From: Vincent Carey <stvjc@channing.harvard.edu> Cc: bioconductor@stat.math.ethz.ch Sent: Fri, January 14, 2011 2:34:41 AM Subject: Re: [BioC] expression set objects what is your sessionInfo() result? > Hi list.. > I am trying to create an expression set object..here is what i did so far.. > > pd <- read.AnnotatedDataFrame( "target.txt", header=T, row.names=1, sep=";" ) > pData(pd) > expression_data <- ReadAffy( filenames = rownames (pData(pd)) ) > expression_data > rma_expression_data <-rma(expression_data) > rma_data <- exprs(rma_expression_data) > > now i want to create an expression set object from the above using the > following: > ALLSet <- new("ExpressionSet", exprs =rma_data, phenoData = pd, > + annotation = "hgu95av2") > but I am getting the following error when i use the above > > Error in validObject(.Object) : > invalid class "ExpressionSet" object: 1: row numbers differ for assayData > members > invalid class "ExpressionSet" object: 2: sample numbers differ for assayData > members > > while if i use rma_expression_data at the highlighted area am getting the > following error: > Error in function (classes, fdef, mtable) : > unable to find an inherited method for function "annotatedDataFrameFrom", for > signature "ExpressionSet" > > any help would be appreciated. > > thanks > peevi > > > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: >http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD REPLY
0
Entering edit mode
On Fri, Jan 14, 2011 at 11:10 AM, Peevi Ijkl <ipeevi@yahoo.com> wrote: > > > Am sorry I dont understand your question > > Hi, Peevi. Please READ the posting guide here: http://www.bioconductor.org/help/mailing-list/posting-guide/ sessionInfo() is an R function. When you are writing to the list, as per the posting guide, you must include the output of sessionInfo() and, when reporting an error, the output of traceback(). Sean > > ________________________________ > From: Vincent Carey <stvjc@channing.harvard.edu> > > Cc: bioconductor@stat.math.ethz.ch > Sent: Fri, January 14, 2011 2:34:41 AM > Subject: Re: [BioC] expression set objects > > what is your sessionInfo() result? > > > > Hi list.. > > I am trying to create an expression set object..here is what i did so > far.. > > > > pd <- read.AnnotatedDataFrame( "target.txt", header=T, row.names=1, > sep=";" ) > > pData(pd) > > expression_data <- ReadAffy( filenames = rownames (pData(pd)) ) > > expression_data > > rma_expression_data <-rma(expression_data) > > rma_data <- exprs(rma_expression_data) > > > > now i want to create an expression set object from the above using the > > following: > > ALLSet <- new("ExpressionSet", exprs =rma_data, phenoData = pd, > > + annotation = "hgu95av2") > > but I am getting the following error when i use the above > > > > Error in validObject(.Object) : > > invalid class "ExpressionSet" object: 1: row numbers differ for > assayData > > members > > invalid class "ExpressionSet" object: 2: sample numbers differ for > assayData > > members > > > > while if i use rma_expression_data at the highlighted area am getting the > > following error: > > Error in function (classes, fdef, mtable) : > > unable to find an inherited method for function > "annotatedDataFrameFrom", for > > signature "ExpressionSet" > > > > any help would be appreciated. > > > > thanks > > peevi > > > > > > > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > Bioconductor mailing list > > Bioconductor@r-project.org > > https://stat.ethz.ch/mailman/listinfo/bioconductor > > Search the archives: > >http://news.gmane.org/gmane.science.biology.informatics.conductor > > > > > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD REPLY

Login before adding your answer.

Traffic: 552 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