|
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: |
# Chi-Square Test ########################################################### # 600 out of 2,500 genes were involved in metabolism. TotalGenes = c(2500, 600) # 135 out of 250 down-regulated genes were involved in metabolism. ChangedGenes = c(250, 135) table = cbind (TotalGenes, ChangedGenes) table chisq.test(table) fisher.test(table) # Odds Ratio = (135/250)/(600/2500) = 2.25 > 1.0 (expected) --> Strange!! |