I am trying pairwise t-test with thousands of genes in different sample group

so I am trying some code like:

for (i in 1:length(GENE)){
 array[i]<-pairwise.t.test(AGE6TTEST[[GENE[i]]],Lable,p.adj="fdr")
}

I want to put the output in an array list, then I can check them, but seems
I have the problem since there are multiple lines in the output of
pairwise.t.test. I usually only got the first line in the array[i] and also
warning messages.

I tried 
a1<-pairwise.t.test(AGE6TTEST[[GENe[1]]],Lable,p.adj="fdr")

It worked

My questions, when I do these huge pairwise comparison, how can I output the
results ?

Thanks,

Meng


-- 
View this message in context: 
http://n4.nabble.com/Help-with-multiple-output-tp1598181p1598181.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to