/pquantR

R package for protemics downstream a analysis

Primary LanguageRGNU General Public License v3.0GPL-3.0

pquant

pquantR is a python and R package to perform downstream analysis of proteomicsLFQ quantitative data. It also included R shiny application which is designed to do the downstream analysis of proteomics dataset, currently these figures are included: Heatmap, Volcano Plot, QC plot.

Because the application is in developing, the test figures are drawn by test R packages separately now.

Installation of environment

The build.sh bash script use conda and mamba to install the environment to install all the dependencies and packahes in python and R.

Prerequisites:

After the installation of conda and mamba you can run the following script:

$> source build.sh

sample datasets

Shiny application

  1. Preparing for shiny app.
  • Download sdrf.csv from this page, out_msstats.csv and out.mzTabfrom this page.
  • Download pquantR folder from this page and put it in a suitable working path.
  1. Run pquant.R in the folder, and you could run it in the following ways.
  • Use RStudio to open RStudio_pquant.R file, and Run.
    • We could run prePquant.R to get preShiny.RData to separate data preprocessing function.
  1. Click the Browse button to upload ‘out_msstats.csv ‘file, then you can view the contents of the file, the resulting volcano map, heat map, and QC map through four different buttons in the shiny app. And you could use MSstats method or proteus method.

Current problems

  1. All 3 plots are generated by the MSStats R package, and when we click plot button, getPlots.R will run again which make us feel stuck.
  2. Cannot view all plots in Volcano and QC plot, because only one image can be viewed at a time in the window.
  3. Because of the large number of proteins in our data and the long names, showing them in a volcano map would affect the effect.

Todo list

  1. Optimize the code so that users don't have to wait too long to see the results after input data.
  2. Consider adding interactive buttons in the volcano and QC boxes so that users can see all the generated plots in the same window.
  3. Consider not displaying the name in the future or change a R package.
  4. Add color descriptions to the heat map or change a R package.