problem using esApply
1
0
Entering edit mode
L L ▴ 10
@l-l-2648
Last seen 9.7 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20080208/ 31e69854/attachment.pl
• 183 views
ADD COMMENT
0
Entering edit mode
rgentleman ★ 5.5k
@rgentleman-7725
Last seen 9.0 years ago
United States
L L wrote: > Hi, > > I tried to use esApply to analyze affy data (aaa) saved in affyBatch. However it created some problem. > > f<- function(x) > { > tmp <- t.test(x[index2-1],x[index1-1]) > c(mean(tmp$estimate), diff(tmp$estimate), tmp$statistic, tmp$p.value) > } > > scores <- esApply(exprs(expr), 1, f) > > Error in function (classes, fdef, mtable) : > unable to find an inherited method for function "esApply", for signature "matrix" nor should there be, the help page should be consulted before the mailing list es in esApply stands for ExpressionSet, so scores <- esApply(expr, 1, f) is more likely to work, > > Can anybody help me out. what is the problem? Thank you in advance! > > LL > > > > _________________________________________________________________ > > > 08 > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 PO Box 19024 Seattle, Washington 98109-1024 206-667-7700 rgentlem at fhcrc.org
ADD COMMENT

Login before adding your answer.

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