Guillawme / rfret

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

Need a function to make a replicates figure (data points with error bars, and fit curve) #12

Closed Guillawme closed 7 years ago

Guillawme commented 7 years ago

It would be nice to make fit_binding_model() able to take any number of datasets, average these datasets, fit against the average data (or all data?), and plot points with error bars.

It should at least:

Guillawme commented 7 years ago

Independent datasets (corresponding to biological replicates of a same experiment) need to be put on a relative scale (0-1 or 0-100%), because absolute fluorescence values are different between independent experiments.

Guillawme commented 7 years ago

This is no longer relevant for fit_binding_model, as of commit 80bc1203e940021d66178fd0b9f601c8b57e1d71.

This will require either modifying make_figure, or adding a new dedicated function.

Guillawme commented 7 years ago

Putting different datasets on a relative scale can be very misleading (there is no longer any information on the real signal amplitude). Therefore, I am not sure this is worth implementing.

Guillawme commented 7 years ago

With save_corrected_fret, users can plot corrected data in their favorite software and make this kind of figure.

This is beyond the scope of this package for now (but might still be relevant for a graphical interface, see #18).