[BioC] Accessing attributes of object

David martin vilanew at gmail.com
Thu Jul 29 14:17:45 CEST 2010


Finally managed to do it...

rownames(tuk.dat$disease[])[x]


On 29/07/10 14:12, David martin wrote:
> 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"
>
> _______________________________________________
> 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
>



More information about the Bioconductor mailing list