help with affy annotation
1
0
Entering edit mode
Katie ▴ 20
@katie-4060
Last seen 9.6 years ago
Hi, I am currently trying to annotate affy data and export it to a HTML file. I'm having problems with the following codes: library(multtest) class <- as.integer(pData(Gds2609)$covar1) ? 1 teststat <- mt.teststat(exprs(Gds2609), class) index <- order(abs(teststat), decreasing = TRUE) probeids <- featureNames(Gds2609)[index] I get error warning messages when I do class and when I try to do teststat R stops working. Any help that anyone could give me would be gratefully received. Best Wishes, Katie
annotate affy annotate affy • 603 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On Mon, May 17, 2010 at 9:03 AM, Katie <kt70@le.ac.uk> wrote: > Hi, > > I am currently trying to annotate affy data and export it to a HTML file. > I'm > having problems with the following codes: > > library(multtest) > class <- as.integer(pData(Gds2609)$covar1) – 1 > teststat <- mt.teststat(exprs(Gds2609), class) > index <- order(abs(teststat), decreasing = TRUE) > probeids <- featureNames(Gds2609)[index] > > I get error warning messages when I do class and when I try to do teststat > R > stops working. Any help that anyone could give me would be gratefully > received. > > Hi, Katie. Since you did not provide the error message or the output of sessionInfo(), it is hard to know what the problem is, but I suspect it might have to do with the fact that "class" is a function in R and reassigning it to be an integer vector might break things. Try removing the "class" variable and use another variable name. If that isn't the issue, be sure to read the posting guide before writing back. Sean [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

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