[BioC] trasnforming log base 2 values into decimal values

Benilton Carvalho bcarvalh at jhsph.edu
Fri Jun 15 19:28:35 CEST 2007


vec = 1:10
mat = matrix(1:10, ncol=2)
2^vec
2^mat

b

On Jun 15, 2007, at 1:08 PM, D.Enrique ESCOBAR ESPINOZA wrote:

> hi,
> I am working with an expression matrix,
> I think I will use ratios for analysis of 2 conditions,
> does anyone know how to change values in a matrix.
>
> if I have 3 in log2 => 2^3=8 in decimal,
> how I do that in R for an entire vector or matrix?
> Thanks



More information about the Bioconductor mailing list