powered by
GenerateSamples generates all possible genotypic compositions (AA,AB,BB) for a given sample size n.
GenerateSamples
n
GenerateSamples(n = 5)
returns a matrix with in each row a possible genotypic compostion for the given sample size.
the desired sample size
Jan Graffelman jan.graffelman@upc.edu
GenerateSamples(5)
Run the code above in your browser using DataLab