param.geno {simer} | R Documentation |
Generate parameters for genotype data simulation.
param.geno(SP = NULL, ...)
SP |
a list of all simulation parameters. |
... |
one or more parameter(s) for genotype simulation. |
Build date: Feb 21, 2022 Last update: Jul 4, 2022
the function returns a list containing
the genotype data.
'1':one-column genotype represents an individual; '2': two-column genotype represents an individual.
the number of markers.
the number of individuals in the base population.
the genotype code probability.
the mutation rate of the genotype data.
whether to generate a complete LD genotype data when 'incols == 2'.
Dong Yin
SP <- param.geno(pop.marker = 1e4, pop.ind = 1e2)
str(SP)