By @rpinho
Refereed correctness bugs in open-source research software, with patches and links to upstream PRs
diff --git a/R/core_mimosa2_funcs.R b/R/core_mimosa2_funcs.R
index 351d90c..72c5978 100644
--- a/R/core_mimosa2_funcs.R
+++ b/R/core_mimosa2_funcs.R
@@ -1386,7 +1386,7 @@ build_metabolic_model = function(species, config_table, netAdd = NULL, manual_ag
#' @export
get_species_cmp_scores = function(species_table, network, normalize = T, relAbund = T, manual_agora = F, humann2 = F, leave_rxns = F, kos_only = F, remove_rev = T, fill_zeros = T){
if(kos_only){
- spec_cmps = get_cmp_scores_kos(species_table, network, normalize = normalize, leave_rxns = leave_rxns)
+ spec_cmps = get_cmp_scores_kos(species_table, network, normalize = normalize, relAbund = relAbund, remove_rev = remove_rev, leave_rxns = leave_rxns)
return(spec_cmps)
} else {
network[is.na(stoichReac), stoichReac:=0] #solve NA problem