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

Description Usage Arguments Value Examples

View source: R/fcn_plots.R

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

1
plot_Charge(d_charge)

Arguments

d_charge

A data.frame with columns as described above

Value

GGplot object

Examples

1
2
3
4
 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 Feb. 9, 2018, 6:08 a.m.