continuous_gpr {CoRegFlux} | R Documentation |
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
continuous_gpr(model, expression, scale = FALSE)
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 |
A metabolic model with lower and upper bound corresponding to the continuous version of the rule evaluation and zero on unaffected fluxes.