plot_eic | R Documentation |
plot_eic
Plots the EICs
plot_eic(eic, title = "EIC", dim = 1)
eic |
a data.frame object. A data frame of the times and intensity values of the EIC of interest, ideally the output of find_eic(). |
title |
a string object. Title placed at the top of the plot. Default title "EIC". |
dim |
a integer object. The time dimensions of the plot, either 1 or 2. Default is 1. |
This function produces a scatter plot of the overall time index vs
the intensity values at a given mass of interest using
ggplot
from ggplot2 package
\insertCiteggplot2gcxgclab.
A ggplot object. A scatter plot of the overall time index vs the intensity values at a given mass of interest.
file1 <- system.file("extdata","sample1.cdf",package="gcxgclab")
frame <- extract_data(file1,mod_t=.5)
eic <- find_eic(frame, MOI=92.1397,tolerance=0.005)
plot_eic(eic,dim=1,title='EIC for MOI 92.1397')
plot_eic(eic,dim=2,title='EIC for MOI 92.1397')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.