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

refactor/feat: topUsedEnzymes, truncateValues and modifyKcats #61

Merged
merged 4 commits into from Dec 6, 2018

Conversation

edkerk
Copy link
Member

@edkerk edkerk commented Dec 5, 2018

  • doc:
    • explanation of input parameters
  • refactor:
    • topUsedEnzymesonly generate table from cell array near end of function, for speed improvement and getting rid of warnings when new data was added to the table
  • feat:
    • topUsedEnzymes optional parameters: writeFile and n for number of top used enzymes, and now supporting T as command line output
    • topUsedEnzymes output table now contains additional column specifying the condition, this changes the output from before this commit
    • truncateValues directly uses column numbers: instead of nCols referring to last number of columns, cols now contains directly which columns should have their value truncated.
  • fix:
    • modifyKcats supports new truncateValues behaviour

- instead of `nCols` referring to last number of columns, `cols` now contains directly which columns should have their value truncated.
- doc: explanation of input parameters
- refactor: only generate table from cell array near end of function, for speed improvement and getting rid of warnings when new data was added to the table
- feat: optional parameters: `writeFile` and `n` for number of top used enzymes, and now supporting `T` as command line output
- feat: output table now contains additional column specifying the condition, this changes the output from before this commit
- indicated are now column indices, not number of columns
Copy link
Member

@IVANDOMENZAIN IVANDOMENZAIN left a comment

Choose a reason for hiding this comment

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

In 2de6f02 (function topUsedEnzymes) the output variable T is not set in the script, this does not cause an error in the pipeline because the returned value is not required on its unique call (line 64 in getConstrainedModel), however this function is also useful for analyzing several flux distributions at once and therefore it might be called in different ways, out of the pipeline, by users.

Actually this is a bug that was already in the function.

- The output variable T is now set with a value (outputFile table).
- The 'conditions' cell array is used for creating column names in the output table/file.
- Documentation modified accordingly
- Makes sure that the output size is never larger than the number of enzymes in the model.
- Draw and/or exchange protein reactions are identified in the rxns field for avoiding ambiguities in the rxnNames field.
- Function call changed accordingly
Copy link
Member

@IVANDOMENZAIN IVANDOMENZAIN left a comment

Choose a reason for hiding this comment

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

Ready to merge now!

@BenjaSanchez BenjaSanchez merged commit bf13a30 into SysBioChalmers:devel Dec 6, 2018
@BenjaSanchez BenjaSanchez mentioned this pull request May 1, 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.

None yet

3 participants