deleteModelGenes
(model, geneList, downRegFraction)[source]Deletes one or more genes and constrain the reactions affected to zero and appends ‘_deleted’ to the gene(s)
Usage
[model, hasEffect, constrRxnNames, deletedGenes] = deleteModelGenes(model, geneList, downRegFraction)
Input
- model – COBRA model with the appropriate constrains for a particular condition
Optional inputs
- geneList – List of genes to be deleted (Default = all genes in model)
- downRegFraction – Fraction of the original bounds that the reactions corresponding to downregulated genes will be assigned (Default = 0 corresponding to a full deletion)
Outputs
- model – COBRA model with the selected genes deleted
- hasEffect – True if the gene deletion has an effect on the model
- constrRxnNames – Reactions that are associated to the genes in geneList
- deletedGenes – The list of genes removed from the model.