plot_peptide_corr_distribution {proBatch} | R Documentation |
Plot distribution of peptide correlations within one protein and between proteins
plot_peptide_corr_distribution(data_matrix, peptide_annotation, protein_col = "ProteinName", feature_id_col = "peptide_group_label", plot_title = "Distribution of peptide correlation", theme = "classic")
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 |
long format data with peptide ID and their corresponding protein annotations |
protein_col |
the column name in |
feature_id_col |
name of the column with feature/gene/peptide/protein
ID used in the long format representation |
plot_title |
Title of the plot, usually processing step |
theme |
ggplot theme, by default |
... |
parameters for the |
ggplot
type object with violin
plot for each plot_param
peptide_corr_distribution <- plot_peptide_corr_distribution( example_proteome_matrix, example_peptide_annotation, protein_col = 'Gene')