> setwd("C:/Users/User/Documents/Russell/Mass_spec/18f15/Negative/c12/24")
>
> library (rJava)
> if (.Platform$OS.type == 'windows' & .Platform$r_arch == 'i386') {print('Loading XP 32bit startup')
+ .jinit ()}
> library (mzmatch.R)
Loading required package: Rcpp
Loading required package: xcms
Loading required package: mzR
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:rJava’:
anyDuplicated, duplicated, sort, unique
The following object is masked from ‘package:stats’:
xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, as.vector, cbind, colnames,
do.call, duplicated, eval, evalq, Filter, Find, get, intersect,
is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax,
rownames, sapply, setdiff, sort, table, tapply, union, unique,
unlist, unsplit
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: ‘xcms’
The following objects are masked from ‘package:Biobase’:
phenoData, phenoData<-
Warning message:
In fun(libname, pkgname) :
mzR has been built against a different Rcpp version (0.11.3)
than is installed on your system (0.11.5). This might lead to errors
when loading mzR. If you encounter such issues, please send a report,
including the output of sessionInfo() to the Bioc mailing list at
> mzmatch.init (16000)
C:/Software/R/library/mzmatch.R/java/mzmatch.jar
>
> rawfiles <- dir (full.names=TRUE,pattern="\\.mzXML*",recursive=TRUE)
> outputfiles <- paste(sub(".mzXML*","",rawfiles),".peakml",sep="")
> for (i in 1:length(rawfiles)){xset <- xcmsSet(rawfiles[i], method='centWave', ppm=2, peakwidth=c(5,100), snthresh=3, prefilter=c(3,1000), integrate=1, mzdiff=0.001, verbose.columns=TRUE, fitgauss=FALSE, nSlaves=1)
+ PeakML.xcms.write.SingleMeasurement (xset=xset,filename=outputfiles[i],ionisation="negative",addscans=2,writeRejected=FALSE,ApodisationFilter=TRUE)}
Detecting mass traces at 2 ppm ...
% finished: 0 10 20 30 40 50 60 70 80 90 100
5508 m/z ROI's.
Detecting chromatographic peaks ...
% finished: 0 10 20 30 40 50 60 70 80 90 100
710 Peaks.
negative
retrieving raw data
- C:/Users/User/Documents/Russell/Mass_spec/18f15/Negative/c12/24/./C12/Neg_C12_24.mzXML
666 peaks exported.
Use version 1: TRUE
Detecting mass traces at 2 ppm ...
% finished: 0 10 20 30 40 50 60 70 80 90 100
5406 m/z ROI's.
Detecting chromatographic peaks ...
% finished: 0 10 20 30 40 50 60 70 80 90 100
718 Peaks.
negative
retrieving raw data
- C:/Users/User/Documents/Russell/Mass_spec/18f15/Negative/c12/24/./C13/Neg_C13_24.mzXML
673 peaks exported.
Use version 1: TRUE