Helper functions#
gloryxr.utils
#
Utility functions for GLORYxR metabolite prediction.
- gloryxr.utils.reactions_to_table(reactions: list[ChemicalReaction]) DataFrame [source]#
Convert chemical reactions to a pandas DataFrame.
- Parameters:
reactions – Iterable of chemical reactions
- Returns:
DataFrame with Educt, Product, and Reaction columns, as well as additional columns for certain reaction properties.