[BioC] Accessing attributes of object

David martin vilanew at gmail.com
Thu Jul 29 14:12:04 CEST 2010


I have the following object (summary of tukeyHSD). How can i retrieve 
the characters "S-H" "SI-H" and "SI-S"

I though that tuk.dat$disease[x,] would do it but is not, neither 
tuk.dat$disease[[x]]

Can you help me ?

str(tuk.dat$disease)
  num [1:3, 1:4] 25.245 -0.176 -25.421 14.653 -9.512 ...
  - attr(*, "dimnames")=List of 2
   ..$ : chr [1:3] "S-H" "SI-H" "SI-S"
   ..$ : chr [1:4] "diff" "lwr" "upr" "p adj"



More information about the Bioconductor mailing list