.corr_distribution_prot {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

.corr_distribution_prot(data_matrix, peptide_annotation, protein_col,
  feature_id_col)

Arguments

data_matrix

features (in rows) vs samples (in columns) matrix, with feature IDs in rownames and file/sample names as colnames. Usually the log transformed version of the original data

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]