Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROOM implementation (Regulatory on/off minimization of metabolic flux changes) #1425

Merged
merged 5 commits into from
Mar 15, 2019
Merged

Conversation

lvalcarcel
Copy link
Contributor

Implementation of ROOM (Regulatory on/off minimization of metabolic flux changes) using COBRA functionalities.

Shlomi, Tomer, Omer Berkman, and Eytan Ruppin. "Regulatory on/off minimization of metabolic flux changes after genetic perturbations." Proceedings of the National Academy of Sciences 102.21 (2005): 7695-7700.

The main article can be found in: https://www.pnas.org/content/102/21/7695.short

I hereby confirm that I have:

  • Tested my code on my own machine
  • Followed the guidelines in the Contributing Guide
  • Selected develop as a target branch (top left drop-down menu)

(Note: You may replace [ ] with [X] to check the box)

addRequired(p, 'WTflux', @(x)isnumeric(x)&&isvector(x));
addRequired(p, 'rxnKO', @(x)iscell(x));
% Check optional arguments
addOptional(p, 'delta', 0.03, @(x)isnumeric(x)&&isscalar(x));
Copy link
Contributor

@tpfau tpfau Feb 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it intentional, that these are positioned optional arguments instead of parameters?
The same applies to the linearROOM version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tpfau for the comment. When I first wrote the code I considered they were more used a, as they are part of the mathematical model. I will change them to paramenters.

@codecov-io
Copy link

codecov-io commented Feb 13, 2019

Codecov Report

Merging #1425 into develop will increase coverage by 0.01%.
The diff coverage is 90.8%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1425      +/-   ##
===========================================
+ Coverage    44.42%   44.43%   +0.01%     
===========================================
  Files          902      904       +2     
  Lines        64592    64679      +87     
===========================================
+ Hits         28693    28740      +47     
- Misses       35899    35939      +40
Impacted Files Coverage Δ
src/analysis/ROOM/linearROOM.m 90.47% <90.47%> (ø)
src/analysis/ROOM/ROOM.m 91.11% <91.11%> (ø)
src/base/solvers/solveCobraQP.m 52.75% <0%> (-7.94%) ⬇️
src/base/install/prepareTest.m 69.18% <0%> (-4.07%) ⬇️
src/base/solvers/solveCobraNLP.m 68.83% <0%> (-1.95%) ⬇️
src/analysis/sampling/ACHR/ACHRSampler.m 86.36% <0%> (-1.14%) ⬇️
src/base/solvers/solveCobraMILP.m 49.44% <0%> (+0.73%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc2abff...8614599. Read the comment docs.

@laurentheirendt
Copy link
Contributor

Thanks @lvalcarcel and @tpfau 👍

@laurentheirendt laurentheirendt merged commit fc89122 into opencobra:develop Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants