[R] read table for Fisher Exact

visser s.m.bol at amc.uva.nl
Wed May 12 22:31:09 CEST 2010


i have 2 groups i want to compare: group A and group B
each group contains let's say 20 patients
i want to perform a Fisher Exact test on genotype distribution
so, see if there is a sign diff in genotpe frequency/distribution (#AA, #AB,
#BB) between group A and B
not for 1, but for 1000 different genes

my question: how should i build my table so i can do:

test <- read.table("table1.txt")
fisher.test(test)

i know a lot is still missing in the syntax, but i do not know what. any
help would be soo much appreciated!!
-- 
View this message in context: http://r.789695.n4.nabble.com/read-table-for-Fisher-Exact-tp2196762p2196762.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list