[R] Help on T test

mark salsburg mark.salsburg at gmail.com
Tue Jul 26 21:28:24 CEST 2005


ok I created a matrix C with 

A   B  C    A1   B1    C1
..................................
.................................

the columns contain the gene expression values..

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 R-help mailing list