Git Product home page Git Product logo

dmmimesim's Issues

SpeciesKd calculation seems off

The value for KD_WT in params reflects the Kd of the wildtpye species, not of a single position.

In the case that KD_WT == 1, the Kd's of the single positions are equal to the species Kd and multiplicative processing of all position-wise Kd's (as done in https://github.com/wvandertoorn/dmMIMESim/blob/3ab12d908c8d33167a7dcc34d3b33547b2fbbf71/src/Species.cpp#L223C19-L223C35 ) will return a species Kd of 1.
However, in the case that KD_WT =/= 1, multiplicative processing of all position-wise Kd's will return incorrect species Kd values.

Possible fix:

Assume all position-wise Kd's in the wildtype have the same magnitude. Let's call it KD_WT_pos. Estimate KD_WT_pos through the Nth root of the KD_WT value. With N the sequence length.
Use KD_WT_pos as default value in the FuncitonalSequence creation in FunctionalSequence::drawKdValues

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.