Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

qc_cvs

Check CV distribution


Description

Calculates and plots the coefficients of variation for the selected grouping.

Usage

qc_cvs(
  data,
  grouping,
  condition,
  intensity,
  plot = TRUE,
  plot_style = "density"
)

Arguments

data

a data frame containing at least peptide, precursor or protein identifiers, information on conditions and intensity values for each peptide, precursor or protein.

grouping

the column in the input data frame containing the grouping variables (e.g. peptides, precursors or proteins).

condition

the column in the data data frame containing condition information (e.g. "treated" and "control").

intensity

the name of the column containing the corresponding raw or untransformed normalised intensity values for each peptide or precursor.

plot

logical indicating whether the result should be plotted. Default is TRUE.

plot_style

character vector indicating the plotting style. plot_style = "boxplot" plots a boxplot, whereas plot_style = "density" plots the CV density distribution. plot_style = "violin" returns a violin plot. Default is plot_style = "density".

Value

Either the median CVs in

Examples

## Not run: 
qc_cvs(
  data,
  grouping = pep_stripped_sequence,
  condition = condition,
  intensity = fg_quantity,
  plot = TRUE,
  plot_style = "density"
)

## End(Not run)

protti

Bottom-Up Proteomics and LiP-MS Quality Control and Data Analysis Tools

v0.1.1
MIT + file LICENSE
Authors
Jan-Philipp Quast [aut, cre], Dina Schuster [aut], ETH Zurich [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.