simulate_gen_assoc: Provide a quick report on the simulation of parental pairs...

Description Usage Arguments

View source: R/am_sims.R

Description

This report is only for a single generation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
simulate_gen_assoc(
  am_corr_coeff,
  ntrait_loci,
  nloci,
  envir_var,
  pop_size,
  generations,
  ntraining,
  af_r_func = runif
)

Arguments

am_corr_coeff

The associative mating correlation coefficent

ntrait_loci

The number of loci for each trait

pop_size

The Size of the populations to simulate. Equal numbers of males and females of this size.

generations

The number of generations to run the simulation.

ntraining

The size of the training data set

af_r_func

A function of one variable (n) that returns a vector of allele frequencies of length n

n_loci

The number of loci to simulate.

environ_var

environmental variance. A vector of length 1 or 2.


ijwilson/gencorram documentation built on Dec. 20, 2021, 6:55 p.m.