Nothing
## ----setup, include = FALSE----------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----message=FALSE, xcms-------------------------------------------------
library(cliqueMS)
mzfile <- system.file("standards.mzXML", package = "cliqueMS")
library(xcms)
mzraw <- readMSData(files = mzfile, mode = "onDisk")
cpw <- CentWaveParam(ppm = 15, peakwidth = c(5,20), snthresh = 10)
mzData <- findChromPeaks(object = mzraw, param = cpw)
## ----anclique------------------------------------------------------------
ex.anClique <- createanClique(mzData)
summary(ex.anClique)
## ----cliquefind, include = TRUE------------------------------------------
set.seed(2)
ex.cliqueGroups <- getCliques(mzData, filter = TRUE)
summary(ex.cliqueGroups)
## ----isotopes, include = TRUE--------------------------------------------
ex.Isotopes <- getIsotopes(ex.cliqueGroups, ppm = 10)
summary(ex.Isotopes)
## ----positive, include = TRUE--------------------------------------------
head(positive.adinfo)
## ----adducts, include = TRUE---------------------------------------------
ex.Adducts <- getAnnotation(ex.Isotopes, ppm = 10,
adinfo = positive.adinfo, polarity = "positive")
summary(ex.Adducts)
## ----peaklist, include = TRUE--------------------------------------------
features.clique6 <- ex.Adducts$cliques[[6]]
head(ex.Adducts$peaklist[features.clique6,
c("an1","mass1","an2", "mass2", "an3", "mass3", "an4", "mass4", "an5", "mass5")], n = 10)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.