Create a shiny app that does what the fragman program does

Job ID: 31632647

Budget: $30 – $250 USD

I generate data that has a series of peaks, representing fragments of DNA, in 5 coloured channels. The raw output has time on the x axis and peak height (in rfu, or relative fluorescence units) on the y axis

One channel contains a reference (known as a ladder). This has DNA fragments of known size. Using this reference, you can convert the x-axis from time to base pair units.

I currently use the fragman program to 'call' the ladder peaks. Sometimes some peaks are missing (because of bleed through from other channels), so often you need to manually correct the ladder calls.

I'd like to create a shiny-based web app to do what fragman does. It needs to display the data from one file at a time, display the calls it automatically assigns, and allow the user to remove bad calls (e.g. by right click) and add correct calls (e.g. by left click).

I will then integrate this into my analysis pipeline, which will also be shiny app based.

I've written a manual script that does what I want it to, which can be used as a reference. However, I need help making this shiny compatible.

Shiny app version of fragman