| plotEIC | R Documentation |
Reads mzML/mzXML raw data and plots extracted ion chromatograms (EIC) for a list of target m/z values at MS1 or MS2 level. Uses RaMS for lightweight data access and plotly for interactive visualization.
plotEIC(filepath, featlist, diff = 0.005)
filepath |
character. Path to an mzML or mzXML file. |
featlist |
data.frame with columns: |
diff |
numeric. Half-width of the m/z extraction window in Da. Default 0.005. |
A plotly object with overlaid extracted ion chromatograms.
## Not run:
featlist <- data.frame(
name = c("target1", "target2"),
mz = c(300.1234, 350.5678),
ms_level = c("ms1", "ms2")
)
plotEIC("sample.mzML", featlist)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.