plot_MS2Oversampling: Plot bargraph of oversampled 3D-peaks.

View source: R/fcn_plots.R

plot_MS2OversamplingR Documentation

Plot bargraph of oversampled 3D-peaks.

Description

Per Raw file, at most three n's must be given, i.e. the fraction of 3D-peaks for n=1, n=2 and n=3(or more). The fractions must sum to 1 (=100

Usage

plot_MS2Oversampling(data)

Arguments

data

A data.frame with columns 'fc.raw.file', 'n', 'fraction'

Value

GGplot object

Examples

  data = data.frame(fc.raw.file = rep(letters[1:3], each=3),
                    n = 1:3,
                    fraction = c(0.8, 0.1, 0.1, 0.6, 0.3, 0.1, 0.7, 0.25, 0.05))
  plot_MS2Oversampling(data)


PTXQC documentation built on Sept. 21, 2022, 9:10 a.m.