View source: R/speciesPicrustFunctions.R
generate_preprocessed_networks | R Documentation |
Generate preprocessed reference databases for MIMOSA2
generate_preprocessed_networks(
database,
model_table_file = NULL,
picrust_ko_path = "data/picrustGenomeData/",
kegg_paths = c("data/KEGG/reaction_mapformula.lst", "data/KEGG/reaction_ko.list",
"data/KEGG/reaction"),
dat_path = paste0("data/", database, "/"),
out_path = paste0("data/", database, "/RxnNetworks/")
)
database |
One of "KEGG", "picrustGG", "AGORA", or "embl_gems" |
model_table_file |
Optionally, a table listing models from a version of AGORA or embl_gems other than what is included in package data |
picrust_ko_path |
Path to unzipped precalculated PICRUSt 1 files |
kegg_paths |
Vector of file paths to the 3 KEGG files required for MIMOSA network template construction (1) reaction_mapformula.lst, 2) reaction_ko.list, and 3) reaction) |
dat_path |
For the AGORA or embl_gems options, path to directory of .mat model files |
out_path |
Path to write processed reaction network outputs for each taxon |
No return, writes processed reaction network to file
generate_preprocessed_networks("AGORA", dat_path = "data/AGORA/", )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.