Transport¶
- transportReactionBool(model, originCompartment, destinationCompartment, unidirectionalBool)¶
Return a boolean vector indicating which reactions transport between compartments.
USAGE:
[transportRxnBool] = transportReactionBool(model, originCompartment, destinationCompartment, unidirectionalBool)
- INPUT:
model: COBRA model structure with fields:
.S
.mets
- OPTIONAL INPUTS:
originCompartment: origin compartment (only relevant for unidirectional) destinationCompartment: destination compartment (only relevant for unidirectional) unidirectionalBool: 1 = only return transport reactions between specified
compartments in the origin to destination direction
- OUTPUT:
transportRxnBool: boolean vector indicating transport reactions