View source: R/core_mimosa2_funcs.R
get_cmp_scores_kos | R Documentation |
Updated version of getting all sample-level CMP scores from a KO abundance table
get_cmp_scores_kos(
ko_table,
network,
normalize = T,
relAbund = T,
remove_rev = T,
leave_rxns = F
)
ko_table |
KO abundance table (wide format) |
network |
Species-specific network table, product of build_network functions |
normalize |
Whether to normalize rows when making the network EMM |
remove_rev |
Whether to remove rev rxns before calculating/normalizing |
leave_rxns |
Whether to leave individual KO contributions or aggregate to metabolite level |
data.table of cmp scores for each taxon and compound
get_cmp_scores_kos(ko_data, network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.