Description Usage Arguments Value Examples
View source: R/DFBAsimulationFunctions.R
Update the constraints of the reactions associated with the knock-out or overexpressed gene
1 | update_fluxes_constraints_geneKOOV(model, gene_table, aliases = NULL)
|
model |
An object of class modelOrg, the metabolic model. |
gene_table |
A data.frame containing 2 columns: "gene", "expression" containing respectively the name of a gene present in the CoRegNet object as string and an expression factor of 0 for a KO, or an integer >1 for an overexpression |
aliases |
Optional. A data.frame containing the gene names used in the metabolic model and the aliases to use to match the regulatory network |
Return the model with updated bounds
1 2 3 4 5 6 7 8 9 | data("iMM904")
data("aliases_SC")
gene_table <- data.frame("gene" = c("YGL202W","YIL162W"),
"expression" =c(2,0), stringsAsFactors = FALSE)
model_gene_KO_OV_constraints <- update_fluxes_constraints_geneKOOV(
model= iMM904,
gene_table = gene_table,
aliases = aliases_SC)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.