continuous_gpr: Continuous evaluation of the gpr rules

Description Usage Arguments Value

View source: R/CoregfluxFunctions.R

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.


CoRegFlux documentation built on Nov. 8, 2020, 5:21 p.m.