[R] converting affybatch object to matrix

Landes, Ezekiel Ezekiel_Landes at hms.harvard.edu
Fri Apr 1 15:54:17 CEST 2011


I have an Affybatch object called "batch" :

>
> batch
AffyBatch object
size of arrays=1050x1050 features (196 kb)
cdf=HuGene-1_0-st-v1 (32321 affyids)
number of samples=384
number of genes=32321
annotation=hugene10stv1
notes=
>
>

Is there a way of converting a portion of this data into a matrix? More specifically, a matrix where the 384 samples are columns and the 32321 genes are rows? The "exprs" function returns a matrix that has 384 columns but for some reason there are 1050^2 rows.

Thanks!


More information about the R-help mailing list