make_geno: Create genotype matrix

View source: R/generate_individuals.r

make_genoR Documentation

Create genotype matrix

Description

Create genotype matrix

Usage

make_geno(nid, nsnp, af)

Arguments

nid

Number of samples

nsnp

Number of SNPs

af

Allele frequency of all SNPs (all SNPs have the same allele frequency)

Value

Matrix of genotypes, rows = individuals, columns = snps


explodecomputer/simulateGP documentation built on April 3, 2024, 2:38 a.m.