Re: how to convert expression set data into matrix data ?
0
0
Entering edit mode
Sylvia Merk ▴ 50
@sylvia-merk-201
Last seen 9.6 years ago
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@gladstone.ucsf.edu> > Subject: [BioC] how to convert expression set data into matrix data ? > > To: <bioconductor@stat.math.ethz.ch> > Message-ID: <003501c3587a$857cd130$8502280a@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 >
convert convert • 700 views
ADD COMMENT

Login before adding your answer.

Traffic: 696 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6