Description Usage Arguments Details Examples
View source: R/model_fitting.R
Fit a dynamic linear model to a single host series using labraduck
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
a phyloseq object |
host |
host short name (e.g. ACA) |
taxa_covariance |
list of prior covariance parameters over taxa |
var_scale |
combined scale of the total variance components Sigma and Gamma (default 1) |
tax_level |
taxonomic level at which to agglomerate data |
alr_ref |
index of reference ALR coordinate |
n_samples |
number of posterior samples to draw |
MAP |
compute MAP estimate only (as single posterior sample) |
use_covariates |
if TRUE uses available rain, temperature, and diet data as covariates in the model |
split_diet |
if TRUE, splits diet PC1 into positive and negative subsets to treat as two 'environments' |
Fitted model and metadata saved to designated model output directory.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.