Description Usage Arguments Details Value Author(s) References See Also
The function modelorg2tsv
writes the content of an instance of class
modelorg
to text files in a character-separated value format
adopted from the BiGG database output.
1 2 3 4 5 6 | modelorg2tsv(model, prefix, suffix, extMetFlag = "b",
fielddelim = "\t", entrydelim = ", ",
makeClosedNetwork = FALSE,
onlyReactionList = FALSE,
minimalSet = FALSE,
fpath = SYBIL_SETTINGS("PATH_TO_MODEL"), ...)
|
model |
An object of class |
prefix |
A single character string giving the prefix for three possible output files (see Details below). |
suffix |
A single character string giving the file name extension. If missing, the
value of |
extMetFlag |
A single character string giving the identificator for metabolites which
are outside the system boundary. Only necessary, if the model is a closed
one. |
fielddelim |
A single character string giving the value separator. |
entrydelim |
A single character string giving the a separator for values containing
more than one entry. |
makeClosedNetwork |
Boolean. If set to For example, most models contain a transport reaction for glucose:
If
with the letter |
onlyReactionList |
Boolean. If set to |
minimalSet |
Boolean. If set to |
fpath |
A single character string giving the path to a certain directory in which
the output files will be stored. |
... |
Further arguments passed to |
The function modelorg2tsv
produces three output files: a reactions
list, a metabolites list and a model description file.
The reactions list has the following columns:
"abbreviation" | react_id(model) |
"name" | react_name(model) |
"equation" | the reaction equations |
"reversible" | react_rev(model) |
"compartment" | reaction compartment(s) |
"lowbnd" | lowbnd(model) |
"uppbnd" | uppbnd(model) |
"obj_coef" | obj_coef(model) |
"rule" | gpr(model) |
"subsystem" | subSys(model) |
The metabolites list has the following columns:
"abbreviation" | met_id(model) |
"name" | met_name(model) |
"compartment" | met_comp(model) |
The model description file has the following columns:
"name" | mod_name(model) |
"id" | mod_id(model) |
"description" | mod_desc(model) |
"compartment" | mod_compart(model) |
"abbreviation" | unique compartment abbreviations |
"Nmetabolites" | number of metabolites |
"Nreactions" | number of reactions |
"Ngenes" | number of independend genes |
"Nnnz" | number of non-zero elements in the stoichiometric matrix |
If onlyReactionList
is set to TRUE
, only the reactions list
containing the column "equation"
is produced.
Please read the package vignette for detailed information about file formats and examples.
All fields in the output files are in double quotes. In order to read them in
with readTSVmod
, set argument quoteChar
to "\""
.
Returns TRUE
on success.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
The BiGG database http://bigg.ucsd.edu/.
read.table
, modelorg2tsv
, modelorg
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.