| metabolites | R Documentation |
This function identifies the list of metabolites for a set of stoichiometric reactions. If 'woCompartment' is 'TRUE' compartment label is removed. If 'uniques' is 'TRUE', list of uniques is returned.
metabolites(reactionList, woCompartment = FALSE, uniques = TRUE)
reactionList |
A set of stoichiometric reaction with the following characteristics:
Some examples of valid stoichiometric reactions are:
|
woCompartment |
A boolean value |
uniques |
A boolean value |
A list of metabolites for a set of stoichiometric reactions
Daniel Camilo Osorio <dcosorioh@tamu.edu>
# Extract metabolites of a stoichiometric reaction
metabolites(reactionList = "ADP[c] + Phosphoenolpyruvate[c] => ATP[c] + Pyruvate[c]")
# Loading a set of stoichiometric reactions
glycolysis <- read.csv(system.file("extdata/glycolysisModel.csv",package = "minval"), sep='\t')
# Extract unique metabolites
metabolites(reactionList = glycolysis$REACTION)
#' # Extract unique metabolites without compartments
metabolites(reactionList = glycolysis$REACTION, woCompartment = TRUE)
# Extract all metabolites
metabolites(reactionList = glycolysis$REACTION, uniques = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.