Description Usage Arguments Value Examples
Generates a plot showing mass error vs. ion mass.
1 | fragment.mass.error(data, recalibrate = F)
|
data |
output from read.bupid |
recalibrate |
adjust mass errors so they are centered around zero |
Returns the ggplot object representing the plot.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.