View source: R/core_mimosa2_funcs.R
fit_single_scaling_mod | R Documentation |
Fits single model scaling total CMPs to concentrations of a metabolite
fit_single_scaling_mod(
met1,
cmp_rxn_dat,
mets_melt,
rank_based = F,
rank_type = "mblm"
)
met1 |
metabolite ID to fit |
cmp_rxn_dat |
Table of species-reaction contribution abundances |
mets_melt |
Table of metabolite concentrations |
rank_based |
Whether to use rfit instead of lm |
lm model object
fit_single_scaling_mod(met1, species_cmps, met_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.