Dear Toni,
sorry for the delay, I'm on leave this week.
Let me address your questions in different messages.
For the first one, are you including the family effect (using the random component) in addition to the genetic effect? In that case, that is very likely the cause of the non-convergence. Indeed, the genetic and family effects are both trying to explain the same thing. The model is thus not identifiable.
If, instead, you are replacing the genetic effect by the
family effect, then there could be a number of causes for the
convergence problem. Perhaps many families with only one member or
even no member at all? I would need to check the data to be sure.
About averaging the individual blups as a mean to obtain family effects and the bootstrap the estimates... yeah, in principle that would be ok. But resampling is delicate as you want to make sure to keep the number of observations in each family constant over replicates, and you need several observations per family to avoid resampling the same individual too much and biasing the estimation of the within-family variance down. If you don't need individual blups, I would rather estimate family effects directly.
Hope it helps.
ƒacu.-
--
Report issues at https://github.com/famuvie/breedR/issues
---
You received this message because you are subscribed to the Google Groups "breedR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to breedr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/e8ec591f-1ec5-4a86-b77b-cbfba654cb81n%40googlegroups.com.
Dear Toni,
Concerning your second question about multi-trait models with spatial covariates, what breedR will try to do is to fit a spatial model to each trait, either independently from each other, or with a fully parametrised covariance matrix. These are both relatively complex (many parameters) and failure to converge suggests that the data is not sufficiently informative for learning about all those parameters.
As you say, adjusting the phenotypes by removing the spatial effect prior to fitting the genetic model is not ideal, but is a feasible workaround. Regarding the impact on the heritability, some authors consider that the spatial effect should be included in the denominator, whereas others prefer to exclude it. I guess it depends on your objectives. In any case, it is important to disclose with respect to which sources of variation you are reporting the genetic variability, in order to interpret the results correctly.
Best
ƒacu.-