plot_corr_sub: Make correlation plots

plot_corr_subR Documentation

Make correlation plots

Description

Make correlation plots

Usage

plot_corr_sub(
  df,
  cor_method = "pearson",
  xlab,
  ylab,
  filename,
  filepath,
  xmin,
  xmax,
  xbreaks,
  width,
  height,
  digits = 2L,
  ...
)

Arguments

df

The name of a primary data file. By default, it will be determined automatically after matching the types of data and analysis with an id among c("pep_seq", "pep_seq_mod", "prot_acc", "gene"). A primary file contains normalized peptide or protein data and is among c("Peptide.txt", "Peptide_pVal.txt", "Peptide_impNA_pVal.txt", "Protein.txt", "Protein_pVal.txt", "protein_impNA_pVal.txt"). For analyses require the fields of significance p-values, the df will be one of c("Peptide_pVal.txt", "Peptide_impNA_pVal.txt", "Protein_pVal.txt", "protein_impNA_pVal.txt").

xlab

x-axis label.

ylab

y-axis label.

filename

A representative file name to outputs. By default, the name(s) will be determined automatically. For text files, a typical file extension is .txt. For image files, they are typically saved via ggsave or pheatmap where the image type will be determined by the extension of the file name.

filepath

A file path to output results. By default, it will be determined automatically by the name of the calling function and the value of id in the call.

xmin

minimal x.

xmax

maximal x.

xbreaks

breaks on x-axis.

width

plot width

height

plot height

...

additional arguments for ggsave.


qzhang503/proteoQ documentation built on March 16, 2024, 5:27 a.m.