GenerateSamples {HardyWeinberg} | R Documentation |
GenerateSamples
generates all possible genotypic compositions
(AA,AB,BB) for a given sample size n
.
GenerateSamples(n = 5)
n |
the desired sample size |
returns a matrix with in each row a possible genotypic compostion for the given sample size.
Jan Graffelman jan.graffelman@upc.edu
GenerateSamples(5)