genotype: Genotype a population

View source: R/pop_functions.R

genotypeR Documentation

Genotype a population

Description

Genotype a population

Usage

genotype(genome, pop, error.rate = 0)

Arguments

genome

An object of class genome.

pop

An object of class pop.

error.rate

The genotyping error rate. This argument is not yet operational.

Value

A matrix of dimensions nind x nmarkers in format z -1, 0, 1.


neyhartj/qgsim documentation built on Nov. 11, 2023, 4:08 p.m.