Story
After running statistical analysis, users would like to download the reanalysis code to redo the analysis via code. Right now, the reanalysis code only handles code for MSstats but not MSstatsResponse
Subtasks
Pending response curve code is finalized in the statmodel GUI page
- In the generate_analysis_code function, add a branch that handles the analysis code for MSstatsResponse (i.e. if a user enables dose response curve as an option, then MSstatsResponse code should be used).
- Keep in mind all of the other parameters, such as log transformation, increasing/decreasing, and ratio scale for visualization.
- Generate unit tests for generate_analysis_code, specifically verifying that certain functions are being added to the file based on the logic (i.e. PTM, dose response curves, etc.)