[R] converting affybatch object to matrix

From: Landes, Ezekiel <Ezekiel_Landes_at_hms.harvard.edu>
Date: Fri, 01 Apr 2011 09:54:17 -0400


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!



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 01 Apr 2011 - 13:59:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Apr 2011 - 17:00:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive