micom.viz.growth

Visualization for growth rates.

Module Contents

Functions

plot_growth(results, filename='growth_rates_%s.html' % datetime.now().strftime('%Y%m%d'), tolerance=1e-06)

Plot the taxa growth rates.

micom.viz.growth.plot_growth(results, filename='growth_rates_%s.html' % datetime.now().strftime('%Y%m%d'), tolerance=1e-06)[source]

Plot the taxa growth rates.

Parameters
  • results (micom.workflows.GrowthResults) – The results returned by the grow workflow.

  • filename (str) – The HTML file where the visualization will be saved.

  • tolerance (float) – Smallest growth rate that will be considered. Everything lower will be considered not growing.

Returns

A MICOM visualization. Can be served with viz.serve.

Return type

Visualization