[BioC] Re: how to convert expression set data into matrix data ?
Sylvia Merk
merk at ibe.med.uni-muenchen.de
Mon Aug 4 10:15:10 MEST 2003
Hi Anne,
try
xx <- as.matrix(exprs(B))
xx[1:5,1:5]
greetings
sylvia
> ------------------------------
>
> Message: 4
> Date: Fri, 1 Aug 2003 15:16:13 -0700
> From: "Anne Sauve" <asauve at gladstone.ucsf.edu>
> Subject: [BioC] how to convert expression set data into matrix data ?
>
> To: <bioconductor at stat.math.ethz.ch>
> Message-ID: <003501c3587a$857cd130$8502280a at GCORE15>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> I am trying to convert some expression set data into a matrix format
> in order to do computations on them.
>
> The way I do it now is in 3 steps:
>
> write.exprs(B[,14],file="B.txt")
> B = read.table("B.txt")
> Bmat = as.matrix(Bmat)
>
> where B is an expression set with 15 samples and 12626 genes.
>
> Is there a more direct way of doing that conversion ?
>
> Thanks for your help,
>
> Anne
>
More information about the Bioconductor
mailing list