plot_Charge: The plots shows the charge distribution per Raw file. The...

View source: R/fcn_plots.R

plot_ChargeR Documentation

The plots shows the charge distribution per Raw file. The output of 'mosaicize()' can be used directly.

Description

The input is a data.frame with columns 'Var1' - name of the Raw file 'Var2' - charge (used as fill color) 'Var1_center' - contains X-position of the Raw file 'Var2_height' - relative frequency of the charge 'Margin_var1' - where each row represents one peptide sequence.

Usage

plot_Charge(d_charge)

Arguments

d_charge

A data.frame with columns as described above

Value

GGplot object

Examples

 data = data.frame(raw.file = c(rep('file A', 100), rep('file B', 40)),
                       data = c(rep(2, 60), rep(3, 30), rep(4, 10),
                                rep(2, 30), rep(3, 7), rep(4, 3)))
 plot_Charge(mosaicize(data))


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