Learn R Programming

PTXQC (version 0.82.6)

plot_Charge: Plot MaxQuant Match-between-runs id transfer performance.

Description

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

Usage

plot_Charge(data)

Arguments

data

A data.frame with columns as described above

Value

GGplot object

Details

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.

Examples

Run this code
# NOT RUN {
 data = data.frame(raw.file = c(rep('file A', 100), rep('file B', 40)),
                     charge = c(rep(2, 60), rep(3, 30), rep(4, 10),
                                rep(2, 30), rep(3, 7), rep(4, 3)))
 plot_Charge(mosaicize(data))

# }

Run the code above in your browser using DataLab