sim_GRF: TODO

View source: R/sim.R

sim_GRFR Documentation

TODO

Description

TODO

Usage

sim_GRF(
  project,
  loci,
  alleles,
  nu,
  lambda,
  omega,
  sigsq_shape,
  sigsq_rate,
  mu_mean,
  gamma
)

Arguments

project

a genescaper project, as produced by the genescaper_project() function. The project must have a grid already defined (see ?create_hex_grid) as this grid will be used in simulation.

loci

number of loci (assumed independent).

alleles

number of alleles, assumed to be the same over all loci.

nu, lambda, omega

the values of the model parameters used in simulation. These parameters together specify the spatial autocorrelation function.

sigsq_shape, sigsq_rate, mu_mean, gamma

parameters of the normal-inverse-gamma prior on the mean and variance of transformed allele frequencies.


mrc-ide/genescaper documentation built on May 25, 2022, 10:46 p.m.