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: Jan 27, 2025
Value
the function returns a list containing
- $geno$pop.geno
the genotype data.
- $geno$inrows
"1":one-row genotype represents an individual; "2": two-row 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 "inrows == 2".
Author(s)
Dong Yin
Examples
SP <- param.geno(pop.marker = 1e4, pop.ind = 1e2)
str(SP)
[Package simer version 1.0.0 Index]