GenerateSamples: Generate genotypic compositions

GenerateSamplesR Documentation

Generate genotypic compositions

Description

GenerateSamples generates all possible genotypic compositions (AA,AB,BB) for a given sample size n.

Usage

GenerateSamples(n = 5)

Arguments

n

the desired sample size

Value

returns a matrix with in each row a possible genotypic compostion for the given sample size.

Author(s)

Jan Graffelman jan.graffelman@upc.edu

Examples

GenerateSamples(5)

HardyWeinberg documentation built on May 29, 2024, 6:17 a.m.