Description Usage Arguments Value Note Examples
View source: R/micro_alpha_reg.R
A simple wrapper to run standard linear regression though the lm
function. Will only use alpha diversities distinct libraries (Lib) from the specified table as to not inflate the sample size
1 | micro_alpha_reg(alpha_set, table, ..., RE = NULL)
|
alpha_set |
A tidy_micro data set with alpha diversities calculated by |
table |
OTU table of interest |
... |
Covariates of interest. Can include interaction terms such as |
A data frame containing the model estimates for each alpha diversity
Be aware of your minimal sequencing depth as this will be the size of all bootstrapped resamples (rarefied).
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.