Description Usage Arguments Value
View source: R/CoregfluxFunctions.R
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
1 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.