[BioC] how to convert expression set data into matrix data ?

Rafael A. Irizarry ririzarr at jhsph.edu
Sun Aug 3 20:53:23 MEST 2003


yes! the method exprs gives you back the matrix of expressions in an
instace of the exprSet class. in you example simply use: Bmat <- exprs(B)


On Fri, 1 Aug 2003, Anne Sauve wrote:

> 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
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list