View source: R/validateSyntax.R
validateSyntax | R Documentation |
For a set of given stoichiometric reactions, this function makes the following syntactic evaluations for each reaction:
Evaluates if the reaction contain more than one coefficient by metabolite
Evaluates if the reaction contain metabolite coefficients between parenthesis
Evaluates if the reaction contain arrow symbol between spaces
Evaluates if the reaction contain not allowed arrow symbols
Evaluates if the reaction contain metabolites name separated by a plus symbol between spaces
Evaluates if the reaction contain substituents separated of the metabolite names
validateSyntax(reactionList)
reactionList |
A set of stoichiometric reaction with the following characteristics:
Some examples of valid stoichiometric reactions are:
|
A boolean value 'TRUE'
if reaction has a valid syntax.
Daniel Camilo Osorio <dcosorioh@tamu.edu>
# Evaluate the syntaxis for a single reaction validateSyntax(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') # Evaluating the syntaxis for a set of stoichiometric reactions validateSyntax(reactionList = glycolysis$REACTION)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.