artificialGenotypes: Create a set of artificial genotypes
Description
This function return a matrix of 0/1/2... up to ploidy level.
Nothing fancy, each data point is sampled from an equally
probable distribution.
Usage
artificialGenotypes(samples = 50, markers = 200, ploidy = 2)
Value
a samples x markers matrix
Arguments
- samples
number of individuals (rows)
- markers
number of SNPs (columns)
- ploidy
number of alleles per SNP