emm_to_edge_list: Convert stoichiometric matrix to edge list of reactions

View source: R/speciesPicrustFunctions.R

emm_to_edge_listR Documentation

Convert stoichiometric matrix to edge list of reactions

Description

Convert stoichiometric matrix to edge list of reactions

Usage

emm_to_edge_list(emm)

Arguments

emm

Stoichiometric matrix (rows are metabolites, columns are reactions)

Value

A data.table where each row is a pair of compounds being exchanged in a reaction

Examples

emm_to_edge_list(s_mat)

borenstein-lab/mimosa2 documentation built on Dec. 19, 2024, 12:44 a.m.