
How much would that differ? And how should I build my table if I want to do a Pearson Chi Sqaure?


----- Original Message -----
From: "Frank E Harrell Jr [via R]" <ml-node+2197479-2091597772-257991@n4.nabble.com>
Date: Thursday, May 13, 2010 2:36 pm
Subject: Re: read table for Fisher Exact
To: visser <S.M.Bol@amc.uva.nl>


> On 05/12/2010 03:31 PM, visser wrote:
> >
> > 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!!
> 
> Note that in this case, Fisher's exact test has a good chance of being 
> 
> less accurate than an approximate Pearson chi-square test.
> 
> -- 
> Frank E Harrell Jr   Professor and Chairman        School of Medicine
>                       Department of Biostatistics   Vanderbilt University
> 
> ______________________________________________
> 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.
> 
> 
> ______________________________________
> View message @ http://r.789695.n4.nabble.com/read-table-for-Fisher-Exact-tp2196762p2197479.html
> 
> To unsubscribe from read table for Fisher Exact, click  (link removed) =

-- 
View this message in context: http://r.789695.n4.nabble.com/read-table-for-Fisher-Exact-tp2196762p2197720.html
Sent from the R help mailing list archive at Nabble.com.

	[[alternative HTML version deleted]]

