Using Bioconductor To Analyse Microarray Data: Difference between revisions
| Line 29: | Line 29: | ||
Meta(gds) #show extracted meta data | Meta(gds) #show extracted meta data | ||
table(gds)[1:10,] #show first ten rows of dataset | table(gds)[1:10,] #show first ten rows of dataset | ||
eset <- GDS2eSet(gds) #convert to expression set | eset <- GDS2eSet(gds) #convert to expression set, by default obtains annotation (GPL) data and no log transformation. | ||
pData(eset) #phenotype data | |||
sampleNames(eset) #sample names (GSM) | |||
</pre> | </pre> | ||
*see [[http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/r/geo/ Peter Cock's Page]] or [[http://www.bioconductor.org/packages/1.8/bioc/html/GEOquery.html GEOquery Documentation]] for more information. | *see [[http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/r/geo/ Peter Cock's Page]] or [[http://www.bioconductor.org/packages/1.8/bioc/html/GEOquery.html GEOquery Documentation]] for more information. | ||