--Dear Facundo and others,I am trying to run a Multi-trait model, according to the proposed mehtod using cbind for the traits. Unfortunately, the function does not seem to recognize one of the traits?Here is an example, where i stripped down the number of arguments to the bare minumum:Best Regards, Hermann> head(dat[,c("ROW","COL","GEN","FZ","AUSWFL")])
ROW COL GEN FZ AUSWFL
742 1 1 19939 220 1
743 3 1 23003 62 3
744 4 1 44398 62 6
745 5 1 44398 62 5
[ reached 'max' / getOption("max.print") -- omitted 2 rows ]
> res <- remlf90(dat = dat, fixed = cbind(FZ + AUSWFL) ~ GEN) #fixed = FZ ~ GEN,
Using default initial variances given by default_initial_variance()
See ?breedR.getOption.
> summary(res)
Formula: cbind(FZ + AUSWFL) ~ 0 + GEN
Data: dat
AIC BIC logLik
2742 2747 -1370
Variance components:
Estimated variances S.E.
Residual 2226 170.5
Fixed effects:
value s.e.
GEN.19171 0.000 0.0000
GEN.19187 152.000 47.1788
GEN.19188 0.000 0.0000
GEN.19191 0.000 0.0000
GEN.19456 67.000 33.3604
GEN.19493 99.750 23.5894
GEN.19495 0.000 0.0000
GEN.19496 0.000 0.0000
GEN.19497 0.000 0.0000
GEN.19502 217.800 21.0990
[ reached getOption("max.print") -- omitted 1021 rows ]
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/8e6c2329-f9ce-4b43-928a-25c3ff90eb84o%40googlegroups.com.
Indeed! Thanks Richard for intervening so quickly.
Hermann, you are probably fitting a univariate model for a trait which is the sum of FZ and AUSWFL.
The syntax requires:
fixed = cbind(FZ, AUSWFL) ~ GEN
ƒacu.-
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/CAM6Eiuo%3DAnZ4Zfnn99TENVraCTKoErK1%2BJ6DgMJBA0NdK8b32A%40mail.gmail.com.
Hello,Could just be syntax..? Try replacing the "+" in the cbind with a ","So cbind(var1, var2)Best wishesRichard
To unsubscribe from this group and stop receiving emails from it, send an email to bre...@googlegroups.com.
Hello,Could just be syntax..? Try replacing the "+" in the cbind with a ","So cbind(var1, var2)Best wishesRichard
To unsubscribe from this group and stop receiving emails from it, send an email to bre...@googlegroups.com.
Indeed! Thanks Richard for intervening so quickly.
Hermann, you are probably fitting a univariate model for a trait which is the sum of FZ and AUSWFL.
The syntax requires:
fixed = cbind(FZ, AUSWFL) ~ GEN
ƒacu.-
On 17/06/2020 11:43, Richard Whittet wrote:
Hello,
Could just be syntax..? Try replacing the "+" in the cbind with a ","
So cbind(var1, var2)
Best wishes
Richard
To unsubscribe from this group and stop receiving emails from it, send an email to bre...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/8e6c2329-f9ce-4b43-928a-25c3ff90eb84o%40googlegroups.com.
--
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 bre...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/CAM6Eiuo%3DAnZ4Zfnn99TENVraCTKoErK1%2BJ6DgMJBA0NdK8b32A%40mail.gmail.com.
Dear Hermann,
It can be due to numerical issues. I can see from your EM outputs
that the various traits have very different orders of magnitude:
the intercept for FZ is of ~ 200 while for AUWPS if of ~2.
That factor of x100 can squares with variance components. The estimated variance for the genetic effect of FZ is of ~ 3e3 while for AUWPS if of ~0.36. Thus, 4 orders of magnitude of difference. Estimating correlations with these variation in magnitude is very unstable.
I suggest scaling the traits to a common order of magnitude (preferably on the order of tens or hundreds). Let us know if that improves the results.
ƒacu.-
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/8f17d96d-d036-43ab-a51d-3ce1e0d1050do%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/8f17d96d-d036-43ab-a51d-3ce1e0d1050do%40googlegroups.com.