View source: R/core_mimosa2_funcs.R
get_cmp_summary | R Documentation |
Get summary of CMP score basis across all samples
get_cmp_summary(
species_table,
network,
normalize = T,
relAbund = T,
manual_agora = F,
humann2 = F,
kos_only = F,
remove_rev = T,
met_subset = NULL,
contrib_sizes = NULL,
return_var_shares = T
)
species_table |
OTU abundance table (wide format) |
network |
Species-specific network table, product of build_network functions |
normalize |
Whether to normalize rows when making the network EMM |
relAbund |
Whether to use relative abundance normalization |
manual_agora |
Whether the metabolite are already specified using AGORA/BiGG (and therefore should not be mapped back to KEGG) |
humann2 |
Whether the species data is long-form humann2 gene-species abundances |
kos_only |
Whether to call non-species-specific version of this function instead |
remove_rev |
Whether to remove reversible reactions before calculating anything |
met_subset |
Subset of metabolites to keep |
contrib_sizes |
Contribution values to order by, if applicable |
return_var_shares |
Whether to also return contributions table with summary information |
List of tables of stats on relevant nonzero species and reactions in the network for each compound
get_cmp_summary(species, network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.