Caution about trait means for queen and worker traits and mapping them to colony trait/value #449
gregorgorjanc
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is an example that shows we need to be careful how we set trait means - setting trait population mean only to, say, queen trait, might not be a correct approach in every case - it will depend on how we want to map individual values to colony values. So, think how various colony events will interact with the mapping function when calculating colony values.
First, what triggered this is working on the Quantitative genetics vignette:
What just happened here? I removed ~50% of workers and got more honey? This isn't what I want!
The
calcColonyPheno()
essentially takes queen effect pheno of the queen and adds the sum of workers effect values from workers. Let's see what is going on:So, this is OK. Now for the reduced colony:
OK, the sums are correct, but I think this summing is not what we want - bigger colony should give more honey!
If I now change the trait means and variances from
to
we get this correct behaviour
Here is the breakdown as before:
Beta Was this translation helpful? Give feedback.
All reactions