continuous_gpr: Continuous evaluation of the gpr rules

Description Usage Arguments Value

Description

This function was adapted from code present in exp2flux. Unlike exp2flux, we consider NA gene expression as uninformative, thus terms involving these items will not be evaluated. Also, unlike exp2flux, our equivalence is OR(A,B) <- sum(A,B); AND(A,B) <- min(A,B), more in accordance with tiger

Usage

1

Arguments

model

A genome-scale metabolic model of class modelorg

expression

A numerical matrix corresponding to the gene expression. Rownames should contain gene names/ids while samples should be in columns.

scale

wether to scale the gene expression to unit variance

Value

A metabolic model with lower and upper bound corresponding to the continuous version of the rule evaluation and zero on unaffected fluxes.


i3bionet/CoRegFlux documentation built on May 31, 2019, 1:50 a.m.