.create_reaction | R Documentation |
The function .create_reaction
creates from a given template reaction
the specific reaction given a set of substrates.
The function returns a list of the products of the reaction (in the first
entry of the returned list), together with the template
with the
updated reactions (in the second entry of the returned list).
.create_reaction(
substrates,
template = NULL,
reaction = "RHEA:15421",
constraints = character(length(substrates)),
negate = logical(length(substrates))
)
substrates |
|
template |
|
reaction |
|
constraints |
|
negate |
|
If template == NULL
, the function will load a template specific
to the reaction
with mininum information on the reaction.
list of length 2
Michael Witting, michael.witting@helmholtz-muenchen.de and Thomas Naake, thomasnaake@googlemail.com
FA <- c("FA(14:0(12Me))", "FA(16:0(14Me))", "FA(15:1(9Z)(14Me))",
"FA(17:0(16Me))", "FA(12:0(11Me))", "FA(13:0(12Me))", "FA(14:0(13Me))",
"FA(15:0(14Me))", "FA(16:0(15Me))", "FA(12:0)", "FA(14:0)")
template <- list(reaction_name = "CoA biosynthesis",
reaction_formula = "M_ATP + M_CoA + M_FA = M_PPi + M_AMP + M_AcylCoA",
reaction_RHEA = "RHEA:15421",
reaction_isReversible = "",
reaction_geneAssociation = "",
reaction_pathway = "Acyl-CoA synthetase")
## run create_reaction (template = NULL)
.create_reaction(substrates = list(FA = FA), template = NULL,
reaction = "RHEA:15421")
## run create_reaction (template = template)
.create_reaction(substrates = list(FA = FA), template = template,
reaction = "RHEA:15421")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.