... | ... | @@ -6,12 +6,14 @@ See [genes code](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/src/Genes.c |
|
|
See [genes map code](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/src/Genemap.cpp)
|
|
|
|
|
|
|
|
|
IBASAM included a bi-allelic (favourable-unfavourable) multilocus system for each individual trait that was considered to be genetically coded and transmissible (e.g. Gavrilets and Vose, 2006; Kopp and Gavrilets, 2006; Gavrilets et al., 2007). Thus, for each trait, 2 branches (branch1 and branch2) representing 2 chromosomes were attributed with a given number of loci (nloci). Each locus carried 0 (unfavourable) or 1 (favourable). A genetic value (gValTrait) could be computed as:
|
|
|
IBASAM included a bi-allelic (favourable-unfavourable) multilocus system for each individual trait that was considered to be genetically coded and transmissible. Thus, for each trait, 2 branches (branch1 and branch2) representing 2 chromosomes were attributed with a given number of loci (nloci). Each locus carried 0 (unfavourable) or 1 (favourable).
|
|
|
|
|
|
A genetic value (gValTrait) could be computed as:
|
|
|
|
|
|
$$ gValTrait = $$
|
|
|
|
|
|
|
|
|
where branchn(r) was returning the locus r value (0 or 1) of the branch n, MTrait was the initialization mean value (at population level) and RTrait was the range of genetic values the trait could take. For a trait with heritability (h2) higher than zero, this range was computed by:
|
|
|
where *branchn(r)* was returning the locus r value (0 or 1) of the branch n, *MTrait* was the initialization mean value (at population level) and *RTrait* was the range of genetic values the trait could take. For a trait with heritability (h2) higher than zero, this range was computed by:
|
|
|
|
|
|
|
|
|
where VarTrait was the phenotypic variance of the trait. A pheno- typic value (pValTrait) of the trait was set at the initialization of the individuals following a normal distribution around the mean gValTrait and with an environmental variance (VarEnv) computed as:
|
... | ... | |