Date

Metadata

Collections

Original version

Abstract

In addition to the processes structuring free‐living communities, host‐associated microbiota are directly or indirectly shaped by the host. Therefore, microbiota data have a hierarchical structure where samples are nested under one or several variables representing host‐specific factors, often spanning multiple levels of biological organization. Current statistical methods do not accommodate this hierarchical data structure and therefore cannot explicitly account for the effect of the host in structuring the microbiota. We introduce a novel extension of joint species distribution models (JSDMs) which can straightforwardly accommodate and discern between effects such as host phylogeny and traits, recorded covariates such as diet and collection site, among other ecological processes. Our proposed methodology includes powerful yet familiar outputs seen in community ecology overall, including (a) model‐based ordination to visualize and quantify the main patterns in the data; (b) variance partitioning to assess how influential the included host‐specific factors are in structuring the microbiota; and (c) co‐occurrence networks to visualize microbe‐to‐microbe associations.