fragment.mass.error: Plot mass errors for fragment assignments.

Description Usage Arguments Value Examples

View source: R/fit_error.R

Description

Generates a plot showing mass error vs. ion mass.

Usage

1
fragment.mass.error(data, recalibrate = F)

Arguments

data

output from read.bupid

recalibrate

adjust mass errors so they are centered around zero

Value

Returns the ggplot object representing the plot.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
server <- "http://bupid.bumc.bu.edu/cgi-bin/get_results.cgi"
infile <- "key=WBNqTswT5DPg3aDO&ID=320&date=20150309"
data <- read.bupid(url=paste(server,infile,sep="?"))
png(filename="errors.png",width=300,height=100) #Configure a graphics device
fragment.mass.error(data)
dev.off()

## End(Not run)

heckendorfc/BTDR documentation built on April 28, 2018, 10:12 a.m.