param.geno {simer}R Documentation

Genotype parameters generator

Description

Generate parameters for genotype data simulation.

Usage

param.geno(SP = NULL, ...)

Arguments

SP

a list of all simulation parameters.

...

one or more parameter(s) for genotype simulation.

Details

Build date: Feb 21, 2022 Last update: Jul 4, 2022

Value

the function returns a list containing

$geno$pop.geno

the genotype data.

$geno$incols

'1':one-column genotype represents an individual; '2': two-column genotype represents an individual.

$geno$pop.marker

the number of markers.

$geno$pop.ind

the number of individuals in the base population.

$geno$prob

the genotype code probability.

$geno$rate.mut

the mutation rate of the genotype data.

$geno$cld

whether to generate a complete LD genotype data when 'incols == 2'.

Author(s)

Dong Yin

Examples

SP <- param.geno(pop.marker = 1e4, pop.ind = 1e2)
str(SP)

[Package simer version 0.9.0.4 Index]