Guillawme / rfret

Analyze FRET Binding Data with R
https://guillawme.github.io/rfret
Other
2 stars 5 forks source link

Write a generic parameter guessing function #8

Closed Guillawme closed 7 years ago

Guillawme commented 7 years ago

Not sure this is even possible, because different binding model equations likely have different sets of parameters.

As of commit 0cdadc0c73d5bd4c8bcb11e20a2d57a71e98ae0e, there is only one specialized function to guess the parameters of the quadratic binding equation. It would be nice to have instead a generic function able to guess initial values of parameters to be fitted against experimental data using any binding model equation.

Guillawme commented 7 years ago

This actually sounds very much like reinventing nls, which is not necessary. What is really needed is either a friendly wrapper function, or only an equation library and teaching the user how to use nls directly.

See #7 for related ideas.

Guillawme commented 7 years ago

Closed with commit 633ac14b8c1358a65e56140e0bb41f035b1cbe41. See also #11.