In [10]:
import escher
import escher.server
import json
import os
from IPython.display import HTML
In [11]:
escher.clear_cache()
d = escher.server.directory
print 'Escher directory: %s' % d
In [14]:
b = escher.Builder(map_name='iJO1366_central_metabolism')
b.display_in_notebook()
Out[14]:
In [6]:
with open(os.path.join(d, 'example_data/reaction_data_iJO1366.json')) as f:
reaction_data = json.load(f)
b2 = escher.Builder(model_name='iJO1366', map_name='iJO1366_central_metabolism',
reaction_data=reaction_data)
b2.display_in_notebook()
Out[6]:
In [9]:
with open(os.path.join(d, 'example_data/metabolite_data_iJO1366.json')) as f:
metabolite_data = json.load(f)
b3 = escher.Builder(model_name='iJO1366', map_name='iJO1366_central_metabolism',
metabolite_data=metabolite_data, reaction_data=reaction_data)
b3.display_in_notebook()
Out[9]:
In [ ]: