View source: R/core_mimosa2_funcs.R
calculate_var_shares_linear | R Documentation |
Calculates contributions to variance from a contribution table
calculate_var_shares_linear(
species_contribution_table,
valueVar = "newValue",
model_cov = F
)
species_contribution_table |
Table of species contributions (with residuals) |
valueVar |
Column name to use for values |
model_cov |
Just calculate covariances with metabolite/response data |
metVar |
If model_cov = T, variable name for metabolite concentrations |
Data table of variance shares by each species in the original table for each metabolite
calculate_var_shares_linear(species_cmps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.