Use spatial autocorrelation for host phylogeny? #232
maureenbaars
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Thanks Maureen. Have you had a look at our vignette on phylogenetic ransom effects? See https://cran.r-project.org/web/packages/gllvm/vignettes/vignette7.html and also https://arxiv.org/abs/2408.05333. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m analysing microbiome data from different host species with gllvm models. I now model with host species as a random effect, however I’d like to incorporate host species phylogeny in the model instead. Would it make sense to incorporate host phylogeny in the same way as spatial autocorrelation, for example by using a covariance matrix of species instead of a distance matrix with coordinates?
The model I’m currently using:
model_sp <- gllvm(asv_table, studyDesign = sDesign, family = "negative.binomial", row.eff=~(1|host_species), num.lv = 2, sd.errors = TRUE)
Many thanks in advance!
Maureen
Beta Was this translation helpful? Give feedback.
All reactions