Learn R Programming

AlphaSimR (version 0.8.2)

SimParam: Simulation parameters

Description

Container for global simulation parameters. Saving this object as SP will allow it to be accessed by function defaults.

Usage

SimParam

Arguments

Format

An object of class R6ClassGenerator of length 24.

Fields

ploidy

ploidy level of species

nChr

number of chromosomes

nTraits

number of traits

nSnpChips

number of SNP chips

segSites

segregating sites per chromosome

gender

is gender used for mating

genMap

"matrix" of chromsome genetic maps

femaleMap

"matrix" of chromsome genetic maps for females

maleMap

"matrix" of chromsome genetic maps for males

sepMap

are there seperate genetic maps for males and females

recombRatio

ratio of genetic recombination in females relative to male

traits

list of trait

snpChips

list of SNP chips

potQtl

list of potential QTL segregating sites

potSnp

list of potential SNP segregating sites

lastId

last ID number assigned

isTrackPed

is pedigree being tracked

pedigree

pedigree matrix for all individuals

isTrackRec

is recombination being tracked

recHist

list of historic recombination events

varA

additive genetic variance in founderPop

varG

total genetic variance in founderPop

varE

default error variance

founderPop

the founder population used for scaling traits

nThreads

number of threads used on platforms with OpenMP support