[BioC] T test across columns

mark salsburg mark.salsburg at gmail.com
Tue Jul 26 21:59:01 CEST 2005


> ok I created a matrix C with
> 
> A   B  D    A1   B1    D1
> ..................................
> .................................
> 
> the columns contain the gene expression values for tissues...
> 
> I ran the following t.test:
> 
> apply(C, 1, function(x) t.test( x[1:3], x[4,6] )$p.value )
> 
> which outputs out 16063 pvalues (the number of rows)
> 
> I just want to output 3 pvalues showing if A's column is different from A1 etc..
> 
> any help would be great.. thank you..
>



More information about the Bioconductor mailing list