findExchReact(model)model is of class modelorg a list is returned:reactId containing
the id's of the exchange fluxes.react_id(model)[x$uptake] has the reaction id's
of the uptake reactions.met_id(model) having an exchange reaction.model is of class matrix or
of class Matrix, a logical vector is returned.
If element i equals TRUE, column i of model is an
exchange reaction.Schellenberger, J., Que, R., Fleming, R. M. T., Thiele, I., Orth, J. D., Feist, A. M., Zielinski, D. C., Bordbar, A., Lewis, N. E., Rahmanian, S., Kang, J., Hyduke, D. R. and Palsson, B. Ø. (2011) Quantitative prediction of cellular metabolism with constraint-based models: the COBRA Toolbox v2.0. Nat Protoc 6, 1290--1307.
data(Ec_core)
ex <- findExchReact(Ec_core)Run the code above in your browser using DataLab