[BioC] pData problems with integers

David martin vilanew at gmail.com
Wed Dec 2 15:19:06 CET 2009


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



More information about the Bioconductor mailing list