Description Usage Arguments Author(s) See Also Examples
This function identifies the gaps and fills it from the stoichiometric reactions of a reference metabolic reconstruction using a weighting function.
1 2 3 4 5 6 7 8 |
reactionList |
A set of stoichiometric reaction with the following format:
Where arrows and plus signs are surrounded by a "space character".
It is also expected that stoichiometry coefficients are surrounded by spaces, (nothe the "2" before the CO2[c] or the NH3[c]).
It also expects arrows to be in the form " |
reference |
A set of stoichiometric reaction with the same format of reactionList |
limit |
An addition cost value to be used as a limit to select reactions to be added. Is calculated as NumberNewMetabolites/NumerOfMetabolites for each reaction. |
nRun |
The number of iterations to search for new gaps and fill them according to the score, the default is five. |
woCompartment |
A boolean value |
consensus |
A boolean value |
Kelly Botero <kjboteroo@unal.edu.co> - Maintainer: Daniel Camilo Osorio <dcosorioh@unal.edu.co>
additionCost
function documentation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
# Downloading stoichiometric reactions
all <- getReference(organism = "all", sep = ";")
eco <- getReference(organism = "eco", sep = ";")
# Filtering reactions
all <- mapReactions(
reactionList = all$reaction %in% eco$reaction,
referenceData = all,
by = "bool",
inverse = TRUE
)
# gapFill
gapFill(
reactionList = eco$reaction,
reference = all$reaction,
limit = 0.25,
woCompartment = TRUE,
consensus = FALSE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.