pData problems with integers
1
0
Entering edit mode
David ▴ 860
@david-3335
Last seen 6.1 years ago
Hi succesfully imported pDAta but when i try the following commands i get a problem ??? any idea ?? > head(pData(phenoData)) Group patient1.r1 1 patient18.r1 1 patient16.r1 1 patient15.r1 1 patient14.r1 1 patient13.r1 1 > head(pData(phenoData$Group) == 1 ) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "pData", for signature "integer" > > sapply(pData,class) Group "integer" > is.numeric(pData$Group) [1] TRUE Any idea why this is happening ??? using R 2.10 with bioconductor 2.5 under linux
• 664 views
ADD COMMENT
0
Entering edit mode
@kasper-daniel-hansen-2979
Last seen 10 months ago
United States
On Dec 2, 2009, at 9:19 AM, David martin wrote: > > head(pData(phenoData$Group) == 1 ) Looking at this statement, it makes no sense. Specifically pData(phenoData$Group) should be either pData(phenoData)$Group or phenoData$Group Please study the expressions to see the difference. Kasper
ADD COMMENT

Login before adding your answer.

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