Code Monkey home page Code Monkey logo

Comments (4)

bbarker avatar bbarker commented on June 14, 2024

Redundant information I do not view as a problem in the model structure itself. Correct me if I'm wrong but I think grxnGeneMat and rules are actually generated from grRules when a model is imported from sbml.

rev is indeed another long story

from cobratoolbox.

bertonoronha avatar bertonoronha commented on June 14, 2024

Actually, I really think that it is a problem. Aside from the fact that not everyone uses SBML, from the perspective of a Matlab user this is inconvenient. Every time one wants to change something on the structure, one has to keep in mind that there are several elements that contain that same information.

from cobratoolbox.

bbarker avatar bbarker commented on June 14, 2024

It is a bit of an issue, but I am not sure the alternative is better. The
rxnGeneMat is used frequently during exploratory analyses and probably by a
lot of functions in the COBRA toolbox. so if is gotten rid of, a user would
have to generate it every time they want to use it. Furthermore, new users
may not know about it as easily. My impression, which could be wrong, is
that the gprules are not frequently changed by most COBRA users.

I'm not totally against the removals but want to point out there are some
potential side effects that may outweigh the benefits.

This may be totally wrong but could a listener be used to allow automatic
updates to the other fields?
http://www.mathworks.com/help/matlab/ref/handle.addlistener.html
I'm trying to find a solution that doesn't involve full blown abstraction
of the model and require getters and setters for all fields.

On Fri, Mar 13, 2015 at 4:49 AM, Alberto Noronha [email protected]
wrote:

Actually, I really think that it is a problem. Aside from the fact that
not everyone uses SBML, from the perspective of a Matlab user this is
inconvenient. Every time one wants to change something on the structure,
one has to keep in mind that there are several elements that contain that
same information.


Reply to this email directly or view it on GitHub
#40 (comment)
.

Brandon Barker
[email protected]

from cobratoolbox.

bertonoronha avatar bertonoronha commented on June 14, 2024

Having a function that generates the matrix would solve this issue, I believe. And that would ensure that the matrix is coherent with the grRules.

from cobratoolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.