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

qc_median_intensities

Median run intensities


Description

Median intensities per run are returned either as a plot or a table.

Usage

qc_median_intensities(
  data,
  sample,
  grouping,
  intensity,
  plot = TRUE,
  interactive = FALSE
)

Arguments

data

a data frame containing at least the input variables.

sample

the name of the column containing the sample names.

grouping

the name of the column containing precursor or peptide identifiers.

intensity

the name of the column containing intensity values. The intensity should be ideally log2 transformed, but also non-transformed values can be used.

plot

logical, if TRUE a plot is returned. If FALSE a table is returned.

interactive

logical, if TRUE the plot is interactive using plotly.

Value

A plot that displays median intensity over all samples. If plot = FALSE a data frame containing median intensities is returned.

Examples

## Not run: 
qc_median_intensities(
  data,
  sample = r_file_name,
  grouping = eg_precursor_id,
  intensity = log2_intensity
)

## 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.