View source: R/core_functions.R
run_all_metabolites | R Documentation |
Runall function to do complete predictions and comparison for all shared metabolites
run_all_metabolites(
genes,
mets,
file_prefix = "net1",
correction = "fdr",
cutoff = 0.1,
net_method = "load",
rxn_table_source = "",
id_met = F,
met_id_file = "",
degree_filter = 0,
minpath_file = "",
cor_method = "spearman",
net_file = "",
nperm = 20000,
nonzero_filter = 3,
norm = T,
save_out = T
)
genes |
Gene abundances |
mets |
Metabolite abundances |
file_prefix |
Prefix for output files |
correction |
Type of multiple hypothesis correction to perform (bonferroni or fdr) |
cutoff |
Q/P-value cutoff for significance |
net_method |
Network generation method (see generate_genomic_network) |
id_met |
Whether metabolites have putative identifications that need to be processed |
met_id_file |
If id_met, file of metabolite identifications |
degree_filter |
Threshold for filtering currency metabolites |
minpath_file |
Optional file of pathways to filter network to |
cor_method |
Either "spearman" or "pearson", default is Spearman |
net_file |
file containing network template to use |
nperm |
Number of permutations for Mantel test, default is 20000 |
nonzero_filter |
Minimum number of samples required to have nonzero concentrations and nonzero metabolic potential scores in order for metabolite to be evaluated, default is 3 |
norm |
Whether to normalize the network model coefficients by the total number of synthesis and degradation reactions for each metabolite |
save_out |
Whether to save output |
No return, writes output to files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.