Skip to contents

This additive workflow accepts the same named settings as simulation.yml. It leaves gsim(), gsim_pedigree() and gsim_records() behavior unchanged. Inputs are a parent-first FAM pedigree, one-chromosome BIM, founder phase text (ID and two bit strings), and ordered marker-effect text. The simulation shares native meiosis, packed storage and identity-keyed RNG with standalone. Gaussian model recipes use schema gsim.gaussian_model/v1 with model and design_inputs, or inputs$specification for an already prepared model. Model preparation uses the installed public gsuite command; prepared Gaussian execution uses the same native gsim core without Python or R RNG draws.

Usage

gsim_simulate(simulation, output, base_directory = ".")

Arguments

simulation

Named list with the selected schema and its settings.

output

New output directory; its parent must exist.

base_directory

Base directory for relative input paths.

Value

Invisibly the normalized output directory, containing CSV/JSON and, in marker mode, PLINK files.