[R] a question about clustering

2013-04-03 Thread JiangMei
Hi all. Sorry to bother you. I have a table like the following A B C D E F G1 0 1 1 0 1 1 G2 0 1 1 0 1 1 G3 0 0 0 0 0 1 H1 1 1 1 1 1 1 H2 1 0 1 1 0 1 H3 1 0 1 1 0 1 I already know G1, G2 and G3 belong to the same group and H1, H2 and H3 belong to the other group. I want

[R] discrepancy in fisher exact test between R and wiki formula

2012-12-03 Thread JiangMei
Hi All. Sorry to bother you. I have a question about fisher exact test. I counted the presence of gene mutation in two groups of samples. My data is as follows Presence Absence GroupA 46 GroupB 511 When using the formula of fisher exact