build_stoiMat: Build stoichiometric matrix

Description Usage Arguments Value

View source: R/QP_FBA_functions.R

Description

Create the stoichiometry matrix, indicating the change of metabolites (rows) per chemical reaction (columns)

Usage

1
2
build_stoiMat(metabolites, reactions, corrFile, rxnFile,
  internal_names = FALSE)

Arguments

metabolites

metabolite IDs (e.g. s_0001)

reactions

reaction IDs (e.g. r_0001)

corrFile

mappings between metabolite IDs, names ...

rxnFile

stoichometry of individual reactions

internal_names

should row/column names be model IDs (internal_names = T) or common names (internal_names = F)

Value

a matrix with metabolites as rows, reactions as columns and reaction stoichiometry as values


shackett/simmer documentation built on May 26, 2017, 6:59 a.m.