Pandora-IsoMemo / ReSources

Food Reconstruction Using Isotopic Transferred Signals (ReSources)
https://isomemoapp.com/app/resources
GNU General Public License v3.0
0 stars 1 forks source link

[MPI_WP2]: 7. ReSources #54

Closed jroachell15 closed 3 weeks ago

jroachell15 commented 2 years ago
arunge commented 4 months ago

@isomemo There are two left open points from above

  1. the default y range for all ReSources results graphs (with boxplots and future smoothed curves) should be between 0 and 100%
  2. the “Smoothed plot”

Regarding:

  1. we discussed today that default ranges should only be changed to 0-100% for

    • Source contributions
    • Component contributions
    • Source contributions <*>
    • User Estimate newEst
  2. Currently it is possible to export data of estimates and uncertainties under Summary statistics: image This file could be used to create a smoothed plot with PlotR.

    • We could add a button that opens PlotR
    • What might be missing in PlotR is
    • the option to filter data in order to create smoothed plots for a single group of data.
    • multiple axis can be hidden in PlotR
    • transparency of uncertainty can already be displayed in PlotR image

    Please let us discuss next time which way to take respecting the effort!

isomemo commented 4 months ago

@arunge it would be more efficient to discuss this during our next meeting!

arunge commented 2 months ago

@isomemo As discussed, I added the option to draw a smooth line (1, 2) with version Resources 24.07.0 using the method parameter of ggplot2::geom_smooth().

image

However, I had to add the option to select a "smoothing method" and needed to set "Linear Model" as default value. When loading the examples, running the model and drawing the plots, there are several plots containing only two or three data points. The "Locally Weighted Scatterplot Smoothing" (method = "loess") requires more than 3 data points and might fail for very few data and a too low value of smoothing (span) which always leads to warnings that pop up.

Please let me know, if you have questions or remarks!

isomemo commented 3 weeks ago

@arunge if it fails due to low data can we add our own error message?

arunge commented 3 weeks ago

@isomemo This I am already doing:

isomemo commented 3 weeks ago

@arunge perfect! thanks!

arunge commented 3 weeks ago

@isomemo Ok, thanks. Then I am closing here.