powered by
creates and object containing allele and genotype frequency for genotypeD objects
# S3 method for genotypeD summary(object, …)
genotypeD object
other arguments to be passed
locus information field (if present)
vector of allele names: 0 and 1
estimated allele frequencies with finite sample size correction (Lynch and Milligan 1994)
frequencies of observed genotypes (phenotypes)
Lynch M. and Milligan B.G. (1994) Molecular Ecology 3 91-99
genotype, summary.genotypeD
genotype
summary.genotypeD
# NOT RUN { l1<-rbinom(100,1,0.5) l1<-genotypeD(l1) summary(l1) # }
Run the code above in your browser using DataLab