Learn R Programming

PTXQC (version 1.1.2)

plot_MBRgain: Plot MaxQuant Match-between-runs id transfer performance as a scatterplot.

Description

Per Raw file, the absolute number of transferred IDs as well as the relative gain in percent.

Usage

plot_MBRgain(data, title_sub = "")

Value

GGplot object

Arguments

data

A data.frame with columns as described above

title_sub

Subtitle text

Details

The input is a data.frame with columns 'fc.raw.file' - raw file name 'abs' - absolute number of transferred ID's 'pc' - gain on top of genuine IDs [ where each row represents one rawfile.

Examples

Run this code
 data = data.frame(fc.raw.file = paste("file", letters[1:4]),
                   abs = c(5461, 5312, 3618, 502), 
                   pc = c(34, 32, 22, 2))
 plot_MBRgain(data, "MBR gain: 18%")

Run the code above in your browser using DataLab