Re: [R] Help on T test

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Wed 27 Jul 2005 - 07:50:05 EST

Mark,

Please do not post the same question to both R-help and BioC-help mailing lists because 1) there are many people who are on both lists and 2) people's replies will be archived in two different places making it harder to others to search in future.

Please see the responses on BioC-help list.

Regards, Adai

On Tue, 2005-07-26 at 15:28 -0400, mark salsburg wrote:
> 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..
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 27 07:54:10 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:01 EST