plot_MissedCleavages: Plot bargraph of missed cleavages.

View source: R/fcn_plots.R

plot_MissedCleavagesR Documentation

Plot bargraph of missed cleavages.

Description

Per Raw file, an arbitrary number of missed cleavage classes (one per column) can be given. The total fraction of 3D-peaks must sum to 1 (=100 Columns are ordered by name.

Usage

plot_MissedCleavages(data, title_sub = "")

Arguments

data

A data.frame with columns 'fc.raw.file', '...' (missed cleavage classes)

title_sub

Plot's subtitle

Details

A visual threshold line is drawn at 75

Value

GGplot object

Examples

  data = data.frame(fc.raw.file = letters[1:5],
                    MC0 = c(0.8, 0.5, 0.85, 0.2, 0.9),
                    MC1 = c(0.1, 0.4, 0.05, 0.7, 0.0),
                    "MS2+" =  c(0.1, 0.1, 0.1, 0.1, 0.1),
                    check.names = FALSE)
  plot_MissedCleavages(data, "contaminant inclusion unknown")


PTXQC documentation built on May 29, 2024, 9:26 a.m.