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

export_variable_for_escher(tmodel, variable_type, data, filename)

Exports all the variables of a given type into a csv file, indexed by

get_reaction_data(tmodel, data)

Exports values indexed by reaction ids. Reconciles Forward and Backwards

export_reactions_for_escher(tmodel, data, filename)

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
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
Returns