micom.interaction.summary

Functions to summarize interactions over all metabolites.

Functions

_summarize(→ pandas.DataFrame)

Summarize the overall interactions.

summarize_interactions(→ pandas.DataFrame)

Summarize interactions to key quantities.

Module Contents

micom.interaction.summary._summarize(ints: pandas.DataFrame) pandas.DataFrame[source]

Summarize the overall interactions.

micom.interaction.summary.summarize_interactions(ints: pandas.DataFrame) pandas.DataFrame[source]

Summarize interactions to key quantities.

Parameters:

ints (pandas.DataFrame) – The interactions for individual metabolites calculated before.

Returns:

The summarized interactions contaning the total flux, mass flux, carbon flux, nitrogen flux and number of interactions between any pair of taxa in that sample.

Return type:

pandas.DataFrame