get_peptide_corr_df {proBatch} | R Documentation

## Transform square correlation matrix into long data frame of correlations

### Description

Transform square correlation matrix into long data frame of correlations

### Usage

    get_peptide_corr_df(peptide_cor, peptide_annotation,
      protein_col = "ProteinName", feature_id_col = "peptide_group_label")

### Arguments

`peptide_cor` | peptide correlation matrix (square)
`peptide_annotation` | df with petpides and their corresponding proteins
`protein_col` | the column name in `peptide_annotation` with protein names
`feature_id_col` | column in `peptide_annotation` that captures peptide names are found

### Value

dataframe with peptide correlation coefficients that are suggested to use for plotting in `plot_peptide_corr_distribution` as `plot_param`:

[Package proBatch version 1.0.0 Index]