Message-ID: <BB7C7429880C3144B02DFA69879C8F6F0129FF7727EA@ITCCRMAIL01.MED.HARVARD.EDU>
Date: 2011-04-01T13:54:17Z
From: Landes, Ezekiel
Subject: converting affybatch object to matrix
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!