6.1.1.3.1.6. pytfa.io.viz
¶
Input/Output tools to vizualize results
6.1.1.3.1.6.1. Module Contents¶
6.1.1.3.1.6.1.1. Functions¶
|
Exports all the variables of a given type into a csv file, indexed by |
|
Exports values indexed by reaction ids. Reconciles Forward and Backwards |
|
Exports values indexed by reaction ids. Reconciles Forward and Backwards |
- pytfa.export_variable_for_escher(tmodel, variable_type, data, filename)¶
Exports all the variables of a given type into a csv file, indexed by variable.id. This format is readable by escher if the variable_type is a subclass of :pytfa:`pytfa.optim.variables.ReactionVariable` or :pytfa:`pytfa.optim.variables.MetaboliteVariable`
- Parameters
tmodel (pytfa.core.ThermoModel) –
variable_type (ReactionVariable|MetaboliteVariable) –
data (pandas.Series) – indexed by variable name
filename (string) –
- Returns
- pytfa.get_reaction_data(tmodel, data)¶
Exports values indexed by reaction ids. Reconciles Forward and Backwards variables.
- pytfa.export_reactions_for_escher(tmodel, data, filename)¶
Exports values indexed by reaction ids. Reconciles Forward and Backwards variables. Writes it in a csv file. This format is readable by escher
- Parameters
tmodel (pytfa.core.ThermoModel) –
variable_type (ReactionVariable|MetaboliteVariable) –
data (pandas.Series) – indexed by variable name
filename (string) –
- Returns