Description Usage Arguments Value Author(s) References Examples
Fast search of compounds exhibiting chlorinated or brominated pattern (isotopic profile and mass defect) inside a hight-resolution LC-MS data set. First do CDF2RData
then launch cldetect
with some expertise it is possible to search for any isotopic profile, not only Cl or Br.
In LC-MS ESI data acquired in negative mode cldetect gives you the [M+Cl]- adducts
1 2 3 |
outdir |
your results directory |
xsAnnotate |
an R CAMERA object created by CDF2Data.R function made by Ron Wehrens and modified by Y. GUITTON or |
plotps |
Plot pseudospectra and EICs for each considered peaks in jpeg format the result repository default = TRUE. Put FALSE if you have error message like could not find file type (you may have moved your original datas) |
deprof |
default=FALSE if TRUE |
Thresh |
Threshold of intensity for M+2 here 30 |
m1 |
mass defect between M and M+1 isotope (here 1.0033) |
m2 |
mass defect between M and M+2 isotope (here 1.997 for Cl) |
mdiff |
mdiff differences in Da applied to neutral loss search |
ppmerr |
ppm margin tolerated by |
val |
val for use of into or maxo in funM2 and deprofile.scan |
mdiff2 |
mdiff2 differences in Da applied to IFC chromatogram drawing |
myfile |
name of the output file default "halo_list.csv" |
myfile2 |
name of the output file default "halo_list_short.csv" is a resume from all individual |
m1need |
Should M+1 isotope be present? if FALSE (Default) peaks with no M+1 are considered (interesting for low intensity compounds). If TRUE only complete isotopic profiles are taken into account. |
A matrix with the Cl or Br peaks annotated with RT, Intensity, M, M+1,M+2.
Draw nice Isotopic Filtered Chromatogram (IFC) summary plot where Cl or Br containing peaks are pointed out on the TIC chromatogram in a PDF file inside the Result directory
with runGUI
type MeHaloCoAenv$an to see the CDF2RData object and type MeHaloCoAenv$matcl to see the result of cldetect
Yann GUITTON
"Sleno, L., 2012. The use of mass defect in modern mass spectrometry: Mass defect in mass spectrometry. Journal of Mass Spectrometry 47, 226-236. doi:10.1002/jms.2953"
"Wehrens, R., Weingart, G., Mattivi, F., n.d. metaMS: An open-source pipeline for GC-MS-based untargeted metabolomics. Journal of Chromatography B. doi:10.1016/j.jchromb.2014.02.051"
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | runGUI()
## Not run:
## Not run:
library(MeHaloCoA)
#do the peak picking
data(xcmsSettings) #load peak picking parameters
an<-CDF2RData(indir = system.file("doc/mzData", package="MeHaloCoA"), settingslist=xcmsSettings)
#if indir="", interactive selection of data directory
#do isotopic profile search
data(cldetectSettings) #load halogens detection parameters
i=1 #just first file is processed with cldetect
matcl<-do.call("cldetect", c(an[[i]],cldetectSettings))
#if several files have been processed by CDF2RData
for (i in 1:length(an)){
matcl<-do.call("cldetect", c(an[[i]],cldetectSettings))
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.