id = "T3"
species = "S1"

-- Heritability of the trait
h2 = 0.833

--Locus weight for allelic effects
varLociWeights = 2

-- Selection Intensity
selIntParam =
{
    -- Allowed values: userdata, value
    -- If source == "userdata": matrix sel_int.txt directly filled by user
    -- If source == "value": a unique value is assigned to all cells
    source = "value",
    omega = 50 ,
}

-- Macro-environmental effect E
envEffParam =
{
    -- Source of data, allowed values: userdata, value, param
    -- If source == "userdata": matrix e.txt directly filled by user
    -- If source == "value": a unique value is assigned to all cells, arg: E = number
    -- If source == "param": generation of a gradient according to one dimension, arg: Ke = number
    source = "param",
    Ke = 2 ,
}

-- Optimal trait value Zopt
zoptParam =
{
    -- Source of data, allowed values: userdata, value, param
    -- If source == "userdata": matrix zopt.txt directly filled by user
    -- If source == "value": a unique value is assigned to all cells, arg: zopt = number
    -- If source == "param": generation of a gradient according to one dimension, args: opposed = boolean, Kzopt = number
    source = "param",
    opposed = false,
    Kzopt = 1
}

-- Phenotypic plasticity
-- If non heritable phenotypic plasticity, Z = G + E + epsilon (only loci of type a)
-- no GxE interaction, nhpp should be true
nhpp = false
-- Otherwise Z = a + bE + epsilon, two kinds of locus: a (intercept of reaction norm) and b (slope)
-- reference environmental value Eref required
Eref = 0.1

ltypes = {
{
    id = "a",
    lociList = {},
    phi = 0.1,
},
{
    id = "b",
    lociList = {2},
    phi = 0.77,
}
}
