--- title: "Introduction to promor" output: rmarkdown::html_vignette: df_print: paged toc: true toc_depth: 3 pkgdown: as_is: true vignette: > %\VignetteIndexEntry{Introduction to promor} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ### Introduction * `promor` is a user-friendly, comprehensive R package that combines proteomics data analysis with machine learning-based modeling. * `promor` streamlines differential expression analysis of **label-free quantification (LFQ)** proteomics data and building predictive models with top protein candidates. * `promor` provides a range of quality control and visualization tools at the protein level to analyze label-free proteomics data. * Input files for `promor` are a [proteinGroups.txt ](https://raw.githubusercontent.com/caranathunge/promor_example_data/main/pg1.txt) file produced by [**MaxQuant**](https://maxquant.org) or a [standard input file](https://raw.githubusercontent.com/caranathunge/promor_example_data/main/st.txt) containing a quantitative matrix of protein intensities and an [expDesign.txt](https://raw.githubusercontent.com/caranathunge/promor_example_data/main/ed1.txt) file containing the experimental design of your proteomics data. * The standard input file should be a tab-delimited text file. Proteins or protein groups should be indicated by rows and samples by columns. Protein names should be listed in the first column and you may use a column name of your choice for the first column. The remaining sample column names should match the sample names indicated by the mq_label column in the expDesign.txt file. --- ### Installation You can install the development version of promor from [GitHub](https://github.com/) with: ``` r # install devtools, if you haven't already: install.packages("devtools") # install promor from github devtools::install_github("caranathunge/promor") ``` --- ### Proteomics data analysis with promor ```{r, echo = FALSE, out.width = "100%"} knitr::include_graphics("../man/figures/promor_ProtAnalysisFlowChart_small.png") ``` *Figure 1. A schematic diagram of suggested workflows for proteomics data analysis with promor.* \ #### Example Here is a minimal working example showing how to identify differentially expressed proteins between two conditions using `promor` in five simple steps. We use a previously published data set from [Cox et al. (2014)](https://europepmc.org/article/MED/24942700#id609082) (PRIDE ID: PXD000279). ```{r example, results = 'hide', warning=FALSE, eval = FALSE} # Load promor library(promor) # Create a raw_df object with the files provided in this github account. raw <- create_df( prot_groups = "https://raw.githubusercontent.com/caranathunge/promor_example_data/main/pg1.txt", exp_design = "https://raw.githubusercontent.com/caranathunge/promor_example_data/main/ed1.txt" ) # Filter out proteins with high levels of missing data in either condition/group raw_filtered <- filterbygroup_na(raw) # Impute missing data and create an imp_df object. imp_df <- impute_na(raw_filtered) # Normalize data and create a norm_df object norm_df <- normalize_data(imp_df) # Perform differential expression analysis and create a fit_df object fit_df <- find_dep(norm_df) ``` Lets take a look at the results using a volcano plot. ```{r volcanoplot, warning = FALSE, dpi = 300, out.width = '70%', fig.align ='center', eval = FALSE} volcano_plot(fit_df, text_size = 5) ```