Hardy.Weinberg(tab2, l)
inputformat
chisq.test
with the
arguments: simulate.p.value=TRUE, b=10000. This means, that the p-value
is obtained from a Monte Carlo method with 10000-fold resampling. The
null hypothesis of HWE is rejected when p < 0.05.Bootstrapping.Dest
,
chisq.test
,
all.pops.D
,
all.pops.Dest
,
all.pops.Dest.Chao
,
all.pops.Gst
,
all.pops.Gst.est
,
pair.pops.D
,
pair.pops.Dest
,
pair.pops.Dest.Chao
,
pair.pops.Gst
,
pair.pops.Gst.est
data(Example.transformed)
Example1 <- Example.transformed
tab2 <- split(Example1,Example1$locus)
Hardy.Weinberg(tab2,1)
HWE
Hardy.Weinberg(tab2,2)
HWE
Run the code above in your browser using DataLab