View source: R/orphanMetabolites.R
orphanMetabolites | R Documentation |
This function identifies the orphan metabolites (metabolites not produced or not consumed in any other reaction or just involved in one reaction) for a set of stoichometric reactions.
orphanMetabolites(reactionList, actingAs = NULL, byCompartment = FALSE) orphanReactants(reactionList, byCompartment = FALSE) orphanProducts(reactionList, byCompartment = FALSE)
reactionList |
A set of stoichiometric reaction with the following characteristics:
Some examples of valid stoichiometric reactions are:
|
actingAs |
A text string that specifies the type of metabolite to be returned; only |
byCompartment |
A boolean value |
If byCompartment == FALSE
, a vector with orphan reactants is returned, in opposite case a list is returned.
If actingAs == 'reactant'
, metabolites not produced in any other reaction or just are involved in one reaction are returned.
If actingAs == 'products'
, metabolites not consumed in any other reaction or just are involved in one reaction are returned.
orphanReactants
: Identify the orphan reactants of a set of stoichometric reactions
orphanProducts
: Identify the orphan products of a set of stoichometric reactions
Daniel Camilo Osorio <dcosorioh@tamu.edu>
# Loading a set of stoichiometric reactions glycolysis <- read.csv(system.file("extdata/glycolysisModel.csv",package = "minval"), sep="\t") # Identify orphan metabolites orphanMetabolites(reactionList = glycolysis$REACTION) # Identify orphan reactants orphanReactants(reactionList = glycolysis$REACTION) # Identify orphan products orphanProducts(reactionList = glycolysis$REACTION) # Identify orphan metabolites by compartment orphanMetabolites(reactionList = glycolysis$REACTION, byCompartment = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.