| Back to Multiple platform build/check report for BioC 3.11 |
|
This page was generated on 2020-10-17 11:58:00 -0400 (Sat, 17 Oct 2020).
| TO THE DEVELOPERS/MAINTAINERS OF THE xcms PACKAGE: Please make sure to use the following settings in order to reproduce any error or warning you see on this page. |
| Package 1892/1905 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||
| xcms 3.10.2 Steffen Neumann
| malbec2 | Linux (Ubuntu 18.04.4 LTS) / x86_64 | OK | OK | OK | |||||||
| tokay2 | Windows Server 2012 R2 Standard / x64 | OK | OK | [ OK ] | NA | |||||||
| machv2 | macOS 10.14.6 Mojave / x86_64 | OK | TIMEOUT | skipped | skipped |
| Package: xcms |
| Version: 3.10.2 |
| Command: C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:xcms.install-out.txt --library=C:\Users\biocbuild\bbs-3.11-bioc\R\library --no-vignettes --timings xcms_3.10.2.tar.gz |
| StartedAt: 2020-10-17 09:16:24 -0400 (Sat, 17 Oct 2020) |
| EndedAt: 2020-10-17 09:44:09 -0400 (Sat, 17 Oct 2020) |
| EllapsedTime: 1664.3 seconds |
| RetCode: 0 |
| Status: OK |
| CheckDir: xcms.Rcheck |
| Warnings: 0 |
##############################################################################
##############################################################################
###
### Running command:
###
### C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:xcms.install-out.txt --library=C:\Users\biocbuild\bbs-3.11-bioc\R\library --no-vignettes --timings xcms_3.10.2.tar.gz
###
##############################################################################
##############################################################################
* using log directory 'C:/Users/biocbuild/bbs-3.11-bioc/meat/xcms.Rcheck'
* using R version 4.0.3 (2020-10-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'xcms/DESCRIPTION' ... OK
* this is package 'xcms' version '3.10.2'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... NOTE
Found the following hidden files and directories:
.BBSoptions
These were most likely included in error. See section 'Package
structure' in the 'Writing R Extensions' manual.
* checking for portable file names ... OK
* checking whether package 'xcms' can be installed ... OK
* checking installed package size ... NOTE
installed size is 7.6Mb
sub-directories of 1Mb or more:
R 3.0Mb
html 1.3Mb
libs 2.2Mb
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... NOTE
License components with restrictions not permitted:
GPL (>= 2) + file LICENSE
Package listed in more than one of Depends, Imports, Suggests, Enhances:
'MSnbase'
A package should be listed in only one of these fields.
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* loading checks for arch 'i386'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* loading checks for arch 'x64'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... NOTE
Unexported objects imported by ':::' calls:
'MALDIquant:::.localMaxima' 'MSnbase:::.MSnExpReqFvarLabels'
'MSnbase:::.plotXIC' 'MSnbase:::.vertical_sub_layout'
'MSnbase:::formatFileSpectrumNames'
See the note in ?`:::` about the use of this operator.
There are ::: calls to the package's namespace in its code. A package
almost never needs to use ::: for its own objects:
'.correlate_chromatogram' '.get_closest_index'
'.validChromPeaksMatrix' 'MSW.cwt' 'MSW.getLocalMaximumCWT'
'MSW.getRidge' 'descendMin' 'descendMinTol' 'estimateChromNoise'
'getLocalNoiseEstimate' 'na.flatfill' 'patternVsRowScore'
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
.xcmsFragments.plotTree: no visible global function definition for
'edgemode<-'
.xcmsFragments.plotTree: no visible global function definition for
'addEdge'
buildAnalysisSummary: no visible global function definition for
'newXMLNode'
buildAssayList : <anonymous>: no visible global function definition for
'newXMLNode'
buildAssayList: no visible global function definition for 'newXMLNode'
buildAuditCollection: no visible global function definition for
'newXMLNode'
buildCVlist: no visible global function definition for 'newXMLNode'
buildCVlist: no visible global function definition for 'addChildren'
buildCvParams : <anonymous>: no visible global function definition for
'newXMLNode'
buildDataProcessingList: no visible global function definition for
'newXMLNode'
buildFeatureList : <anonymous>: no visible global function definition
for 'newXMLNode'
buildInputFiles : <anonymous>: no visible global function definition
for 'newXMLNode'
buildInputFiles: no visible global function definition for 'newXMLNode'
buildMzq: no visible global function definition for 'xmlTree'
buildSmallMoleculeList : <anonymous>: no visible global function
definition for 'newXMLNode'
buildSmallMoleculeList: no visible global function definition for
'newXMLNode'
buildSoftwareList: no visible global function definition for
'newXMLNode'
buildStudyVariableList : <anonymous>: no visible global function
definition for 'newXMLNode'
buildStudyVariableList : <anonymous> : <anonymous>: no visible global
function definition for 'newXMLNode'
buildStudyVariableList: no visible global function definition for
'newXMLNode'
running: multiple local function definitions for 'funct' with different
formal arguments
verify.mzQuantML: no visible global function definition for
'xmlTreeParse'
verify.mzQuantML: no visible global function definition for
'xmlInternalTreeParse'
verify.mzQuantML: no visible global function definition for
'xmlSchemaValidate'
xcmsClusterApply: no visible global function definition for
'checkCluster'
xcmsClusterApply : submit: no visible global function definition for
'sendCall'
xcmsClusterApply: no visible global function definition for
'recvOneResult'
xcmsClusterApply: no visible global function definition for
'checkForRemoteErrors'
xcmsPapply: no visible global function definition for 'mpi.comm.size'
xcmsPapply: no visible global function definition for
'mpi.spawn.Rslaves'
xcmsPapply: no visible global function definition for 'mpi.comm.rank'
xcmsPapply : papply_int_slavefunction: no visible global function
definition for 'mpi.send.Robj'
xcmsPapply : papply_int_slavefunction: no visible global function
definition for 'mpi.recv.Robj'
xcmsPapply : papply_int_slavefunction: no visible global function
definition for 'mpi.any.source'
xcmsPapply : papply_int_slavefunction: no visible global function
definition for 'mpi.any.tag'
xcmsPapply : papply_int_slavefunction: no visible global function
definition for 'mpi.get.sourcetag'
xcmsPapply: no visible global function definition for
'mpi.bcast.Robj2slave'
xcmsPapply: no visible global function definition for 'mpi.bcast.cmd'
xcmsPapply: no visible global function definition for 'mpi.recv.Robj'
xcmsPapply: no visible global function definition for 'mpi.any.source'
xcmsPapply: no visible global function definition for 'mpi.any.tag'
xcmsPapply: no visible global function definition for
'mpi.get.sourcetag'
xcmsPapply: no visible global function definition for 'mpi.send.Robj'
xcmsParallelSetup: no visible global function definition for
'mpi.spawn.Rslaves'
xcmsParallelSetup: no visible global function definition for
'mpi.comm.size'
xcmsParallelSetup: no visible global function definition for
'mpi.comm.rank'
xcmsParallelSetup: no visible global function definition for
'makeCluster'
plotSurf,xcmsRaw: no visible global function definition for 'rgl.clear'
plotSurf,xcmsRaw: no visible global function definition for
'rgl.surface'
plotSurf,xcmsRaw: no visible global function definition for
'rgl.points'
plotSurf,xcmsRaw: no visible global function definition for 'rgl.bbox'
plotTree,xcmsFragments: no visible global function definition for
'edgemode<-'
plotTree,xcmsFragments: no visible global function definition for
'addEdge'
write.cdf,xcmsRaw: no visible global function definition for
'ncdim_def'
write.cdf,xcmsRaw: no visible global function definition for
'ncvar_def'
write.cdf,xcmsRaw: no visible global function definition for
'nc_create'
write.cdf,xcmsRaw: no visible global function definition for
'ncvar_put'
write.cdf,xcmsRaw: no visible global function definition for
'ncatt_put'
write.cdf,xcmsRaw: no visible global function definition for 'nc_close'
write.mzQuantML,xcmsSet: no visible global function definition for
'saveXML'
write.mzdata,xcmsRaw: no visible global function definition for
'base64encode'
Undefined global functions or variables:
addChildren addEdge base64encode checkCluster checkForRemoteErrors
edgemode<- makeCluster mpi.any.source mpi.any.tag
mpi.bcast.Robj2slave mpi.bcast.cmd mpi.comm.rank mpi.comm.size
mpi.get.sourcetag mpi.recv.Robj mpi.send.Robj mpi.spawn.Rslaves
nc_close nc_create ncatt_put ncdim_def ncvar_def ncvar_put newXMLNode
recvOneResult rgl.bbox rgl.clear rgl.points rgl.surface saveXML
sendCall xmlInternalTreeParse xmlSchemaValidate xmlTree xmlTreeParse
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files for i386 is not available
Note: information on .o files for x64 is not available
File 'C:/Users/biocbuild/bbs-3.11-bioc/R/library/xcms/libs/i386/xcms.dll':
Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
Found 'printf', possibly from 'printf' (C)
File 'C:/Users/biocbuild/bbs-3.11-bioc/R/library/xcms/libs/x64/xcms.dll':
Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
Found 'printf', possibly from 'printf' (C)
Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs. The detected symbols are linked into the code but
might come from libraries and not actually be called.
See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
adjustRtime-obiwarp 7.02 0.14 7.16
plotChromPeakDensity 6.82 0.03 6.85
refineChromPeaks-merge 6.81 0.00 6.81
fillChromPeaks 6.77 0.01 6.78
findPeaks.massifquant-methods 6.64 0.13 6.77
chromatogram-method 5.84 0.09 5.93
XChromatogram 5.70 0.14 5.84
do_findChromPeaks_matchedFilter 5.42 0.41 5.83
chromPeakSpectra 5.25 0.24 7.55
findChromPeaks-Chromatogram-CentWaveParam 5.43 0.02 5.46
XCMSnExp-class 4.97 0.42 5.39
** running examples for arch 'x64' ... OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
plotChromPeakDensity 7.58 0.05 7.63
fillChromPeaks 7.06 0.00 7.06
refineChromPeaks-merge 6.70 0.02 6.71
adjustRtime-obiwarp 6.49 0.17 6.66
chromPeakSpectra 5.93 0.12 6.02
findChromPeaks-Chromatogram-CentWaveParam 5.77 0.06 5.83
XCMSnExp-class 5.57 0.11 5.67
chromatogram-method 5.56 0.10 5.66
findPeaks.massifquant-methods 5.34 0.08 5.42
XChromatogram 5.06 0.06 5.12
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
Running 'testthat.R'
OK
** running tests for arch 'x64' ...
Running 'testthat.R'
OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE
Status: 6 NOTEs
See
'C:/Users/biocbuild/bbs-3.11-bioc/meat/xcms.Rcheck/00check.log'
for details.
xcms.Rcheck/00install.out
##############################################################################
##############################################################################
###
### Running command:
###
### C:\cygwin\bin\curl.exe -O https://malbec2.bioconductor.org/BBS/3.11/bioc/src/contrib/xcms_3.10.2.tar.gz && rm -rf xcms.buildbin-libdir && mkdir xcms.buildbin-libdir && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=xcms.buildbin-libdir xcms_3.10.2.tar.gz && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL xcms_3.10.2.zip && rm xcms_3.10.2.tar.gz xcms_3.10.2.zip
###
##############################################################################
##############################################################################
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 693k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 693k 100 693k 0 0 1416k 0 --:--:-- --:--:-- --:--:-- 1433k
install for i386
* installing *source* package 'xcms' ...
** using staged installation
** libs
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/xcms_massifquant.cpp -o massifquant/xcms_massifquant.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/TrMgr.cpp -o massifquant/TrMgr.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/Tracker.cpp -o massifquant/Tracker.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/SegProc.cpp -o massifquant/SegProc.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/DataKeeper.cpp -o massifquant/DataKeeper.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/OpOverload.cpp -o massifquant/OpOverload.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/mat.cpp -o obiwarp/mat.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/vec.cpp -o obiwarp/vec.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/xcms_dynprog.cpp -o obiwarp/xcms_dynprog.o
obiwarp/xcms_dynprog.cpp: In member function 'void DynProg::find_path(VEC::MatF&, VEC::VecF&, int, float, float, int, float)':
obiwarp/xcms_dynprog.cpp:1113:9: warning: variable 'bestscore' set but not used [-Wunused-but-set-variable]
float bestscore;
^~~~~~~~~
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/xcms_lmat.cpp -o obiwarp/xcms_lmat.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c xcms_obiwarp.cpp -o xcms_obiwarp.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c fastMatch.c -o fastMatch.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c mzClust_hclust.c -o mzClust_hclust.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c mzROI.c -o mzROI.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c util.c -o util.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c xcms.c -o xcms.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c binners.c -o binners.o
binners.c: In function '_breaks_on_binSize':
binners.c:357:7: warning: unused variable 'idx' [-Wunused-variable]
int idx = 0;
^~~
C:/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o xcms.dll tmp.def massifquant/xcms_massifquant.o massifquant/TrMgr.o massifquant/Tracker.o massifquant/SegProc.o massifquant/DataKeeper.o massifquant/OpOverload.o obiwarp/mat.o obiwarp/vec.o obiwarp/xcms_dynprog.o obiwarp/xcms_lmat.o xcms_obiwarp.o fastMatch.o mzClust_hclust.o mzROI.o util.o xcms.o binners.o -LC:/extsoft/lib/i386 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.11-/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.11-bioc/meat/xcms.buildbin-libdir/00LOCK-xcms/00new/xcms/libs/i386
** R
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for 'sigma' in package 'xcms'
Creating a generic function from function 'hasFilledChromPeaks' in package 'xcms'
** help
*** installing help indices
converting help for package 'xcms'
finding HTML links ... done
AutoLockMass-methods html
GenericParam html
ProcessHistory-class html
SSgauss html
XCMSnExp-class html
finding level-2 HTML links ... done
XCMSnExp-filter-methods html
XCMSnExp-inherited-methods html
XCMSnExp-peak-grouping-results html
XChromatogram html
absent-methods html
adjustRtime-obiwarp html
adjustRtime-peakGroups html
adjustRtime html
align-Chromatogram html
applyAdjustedRtime html
binYonX html
breaks_on_binSize html
breaks_on_nBins html
c.xcmsSet html
calibrate-calibrant-mass html
calibrate html
chromPeakSpectra html
chromatogram-method html
chromatographic-peak-detection html
colMax html
collect-methods html
correlate-Chromatogram html
descendZero html
diffreport-methods html
dirname html
do_adjustRtime_peakGroups html
do_findChromPeaks_centWave html
do_findChromPeaks_centWaveWithPredIsoROIs
html
do_findChromPeaks_massifquant html
do_findChromPeaks_matchedFilter html
do_findPeaks_MSW html
do_groupChromPeaks_density html
do_groupChromPeaks_nearest html
do_groupPeaks_mzClust html
doubleMatrix html
etg html
exportMetaboAnalyst html
extractMsData-method html
featureChromatograms html
featureSpectra html
featureSummary html
fillChromPeaks html
fillPeaks-methods html
fillPeaks.MSW-methods html
fillPeaks.chrom-methods html
filtfft html
findChromPeaks-Chromatogram-CentWaveParam
html
findChromPeaks-Chromatogram-MatchedFilter
html
findChromPeaks-centWave html
findChromPeaks-centWaveWithPredIsoROIs
html
findChromPeaks-massifquant html
findChromPeaks-matchedFilter html
findChromPeaksIsolationWindow html
findEqualGreater html
findMZ html
findPeaks-MSW html
findPeaks-methods html
findPeaks.MS1-methods html
findPeaks.MSW-xcmsRaw-method html
findPeaks.addPredictedIsotopeFeatures-methods
html
findPeaks.centWave-methods html
findPeaks.centWaveWithPredictedIsotopeROIs-methods
html
findPeaks.massifquant-methods html
findPeaks.matchedFilter-xcmsRaw-method
html
findneutral html
getEIC-methods html
getPeaks-methods html
getScan-methods html
getSpec-methods html
getXcmsRaw-methods html
group-methods html
group.density html
group.mzClust html
group.nearest html
groupChromPeaks-density html
groupChromPeaks-mzClust html
groupChromPeaks-nearest html
groupChromPeaks html
groupOverlaps html
groupnames-XCMSnExp html
groupnames-methods html
groupval-methods html
highlightChromPeaks html
image.xcmsRaw html
imputeLinInterpol html
imputeRowMin html
imputeRowMinRand html
isolationWindowTargetMz-OnDiskMSnExp-method
html
levelplot.xcmsRaw html
loadRaw-methods html
medianFilter html
msn2xcmsRaw html
na.flatfill html
overlappingFeatures html
panel.cor html
peakPlots-methods html
peakTable-methods html
peaksWithCentWave html
peaksWithMatchedFilter html
phenoDataFromPaths html
plot.xcmsEIC html
plotAdjustedRtime html
plotChrom-methods html
plotChromPeakDensity html
plotChromPeaks html
plotEIC-methods html
plotMsData html
plotPeaks-methods html
plotQC html
plotRaw-methods html
plotScan-methods html
plotSpec-methods html
plotSurf-methods html
plotTIC-methods html
plotrt-methods html
profGenerate html
profMat-xcmsSet html
profMedFilt-methods html
profMethod-methods html
profRange-methods html
profStep-methods html
pval html
rawEIC-methods html
rawMat-methods html
reconstructChromPeakSpectra html
rectUnique html
refineChromPeaks-clean html
refineChromPeaks-merge html
retcor-methods html
retcor.obiwarp-methods html
retcor.peakgroups-methods html
retexp html
rla html
sampnames-methods html
showError-xcmsSet-method html
specDist-methods html
specDist.cosine-methods html
specDist.meanMZmatch-methods html
specDist.peakCount-methods html
specNoise html
specPeaks html
split.xcmsRaw html
split.xcmsSet html
stitch-methods html
sub-xcmsRaw-logicalOrNumeric-missing-missing-method
html
updateObject-xcmsSet-method html
useOriginalCode html
verify.mzQuantML html
write.cdf-methods html
write.mzQuantML html
write.mzdata-methods html
writeMSData-XCMSnExp-character-method html
writeMzTab html
xcms-deprecated html
xcmsEIC-class html
xcmsFileSource-class html
xcmsFragments-class html
xcmsFragments html
xcmsPapply html
xcmsPeaks-class html
xcmsRaw-class html
xcmsRaw html
xcmsSet-class html
xcmsSet html
xcmsSource-class html
xcmsSource-methods html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
install for x64
* installing *source* package 'xcms' ...
** libs
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/xcms_massifquant.cpp -o massifquant/xcms_massifquant.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/TrMgr.cpp -o massifquant/TrMgr.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/Tracker.cpp -o massifquant/Tracker.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/SegProc.cpp -o massifquant/SegProc.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/DataKeeper.cpp -o massifquant/DataKeeper.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c massifquant/OpOverload.cpp -o massifquant/OpOverload.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/mat.cpp -o obiwarp/mat.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/vec.cpp -o obiwarp/vec.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/xcms_dynprog.cpp -o obiwarp/xcms_dynprog.o
obiwarp/xcms_dynprog.cpp: In member function 'void DynProg::find_path(VEC::MatF&, VEC::VecF&, int, float, float, int, float)':
obiwarp/xcms_dynprog.cpp:1113:9: warning: variable 'bestscore' set but not used [-Wunused-but-set-variable]
float bestscore;
^~~~~~~~~
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c obiwarp/xcms_lmat.cpp -o obiwarp/xcms_lmat.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c xcms_obiwarp.cpp -o xcms_obiwarp.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c fastMatch.c -o fastMatch.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c mzClust_hclust.c -o mzClust_hclust.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c mzROI.c -o mzROI.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c util.c -o util.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c xcms.c -o xcms.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -fno-inline -c binners.c -o binners.o
binners.c: In function '_breaks_on_binSize':
binners.c:357:7: warning: unused variable 'idx' [-Wunused-variable]
int idx = 0;
^~~
C:/rtools40/mingw64/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o xcms.dll tmp.def massifquant/xcms_massifquant.o massifquant/TrMgr.o massifquant/Tracker.o massifquant/SegProc.o massifquant/DataKeeper.o massifquant/OpOverload.o obiwarp/mat.o obiwarp/vec.o obiwarp/xcms_dynprog.o obiwarp/xcms_lmat.o xcms_obiwarp.o fastMatch.o mzClust_hclust.o mzROI.o util.o xcms.o binners.o -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.11-/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.11-bioc/meat/xcms.buildbin-libdir/xcms/libs/x64
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'xcms' as xcms_3.10.2.zip
* DONE (xcms)
* installing to library 'C:/Users/biocbuild/bbs-3.11-bioc/R/library'
package 'xcms' successfully unpacked and MD5 sums checked
|
xcms.Rcheck/tests_i386/testthat.Rout
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(xcms)
Loading required package: Biobase
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: BiocParallel
Loading required package: MSnbase
Loading required package: mzR
Loading required package: Rcpp
Loading required package: S4Vectors
Loading required package: stats4
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: ProtGenerics
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
> library(faahKO)
> library(msdata)
>
> if (.Platform$OS.type == "unix") {
+ prm <- MulticoreParam(3)
+ } else {
+ prm <- SnowParam(3)
+ }
> register(bpstart(prm))
> ## register(SerialParam())
>
> ## Create some objects we can re-use in different tests:
> faahko_3_files <- c(system.file('cdf/KO/ko15.CDF', package = "faahKO"),
+ system.file('cdf/KO/ko16.CDF', package = "faahKO"),
+ system.file('cdf/KO/ko18.CDF', package = "faahKO"))
>
> faahko_od <- readMSData(faahko_3_files, mode = "onDisk")
Polarity can not be extracted from netCDF files, please set manually the polarity with the 'polarity' method.
> faahko_xod <- findChromPeaks(
+ faahko_od, param = CentWaveParam(noise = 10000, snthresh = 40,
+ prefilter = c(3, 10000)))
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 937 regions of interest ... OK: 87 found.
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 1025 regions of interest ... OK: 100 found.
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 919 regions of interest ... OK: 61 found.
> od_x <- faahko_od
> mzr <- matrix(c(335, 335, 344, 344), ncol = 2, byrow = TRUE)
> od_chrs <- chromatogram(od_x, mz = mzr)
> xod_x <- faahko_xod
> pdp <- PeakDensityParam(sampleGroups = rep(1, 3))
> xod_xg <- groupChromPeaks(xod_x, param = pdp)
Processing 2572 mz slices ... OK
> xod_xgr <- adjustRtime(xod_xg, param = PeakGroupsParam(span = 0.4))
Performing retention time correction using 19 peak groups.
Applying retention time adjustment to the identified chromatographic peaks ... OK
> xod_xgrg <- groupChromPeaks(xod_xgr, param = pdp)
Processing 2572 mz slices ... OK
> xod_r <- adjustRtime(as(od_x, "XCMSnExp"), param = ObiwarpParam())
Sample number 2 used as center sample.
Aligning ko15.CDF against ko16.CDF ... OK
Aligning ko18.CDF against ko16.CDF ... OK
>
> xod_chr <- findChromPeaks(filterMz(filterRt(od_x, rt = c(2500, 3500)),
+ mz = c(334.9, 344.1)),
+ param = CentWaveParam())
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 514 regions of interest ... OK: 23 found.
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 515 regions of interest ... OK: 20 found.
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 551 regions of interest ... OK: 29 found.
Warning message:
In .local(object, param, ...) :
Your data appears to be not centroided! CentWave works best on data in centroid mode.
>
> microtofq_fs <- c(system.file("microtofq/MM14.mzML", package = "msdata"),
+ system.file("microtofq/MM8.mzML", package = "msdata"))
> microtofq_od <- readMSData(microtofq_fs, mode = "onDisk")
>
> ## Direct injection data:
> fticrf <- list.files(system.file("fticr", package = "msdata"),
+ recursive = TRUE, full.names = TRUE)
> fticr <- readMSData(fticrf[1:2], msLevel. = 1, mode = "onDisk")
> fticr_xod <- findChromPeaks(fticr, MSWParam(scales = c(1, 7),
+ peakThr = 80000, ampTh = 0.005,
+ SNR.method = "data.mean",
+ winSize.noise = 500))
> ## Pesticide data
> fl <- system.file("TripleTOF-SWATH", "PestMix1_SWATH.mzML", package = "msdata")
> pest_swth <- readMSData(fl, mode = "onDisk")
> cwp <- CentWaveParam(snthresh = 5, noise = 100, ppm = 10,
+ peakwidth = c(3, 20))
> pest_swth <- findChromPeaks(pest_swth, param = cwp)
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 69 regions of interest ... OK: 63 found.
> pest_swth <- findChromPeaksIsolationWindow(pest_swth, param = cwp)
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 5 regions of interest ... OK: 5 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 32 regions of interest ... OK: 31 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 29 regions of interest ... OK: 21 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 13 regions of interest ... OK: 10 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 92 regions of interest ... OK: 83 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 20 regions of interest ... OK: 18 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 56 regions of interest ... OK: 48 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 29 regions of interest ... OK: 29 found.
>
> fl <- system.file("TripleTOF-SWATH", "PestMix1_DDA.mzML", package = "msdata")
> pest_dda <- readMSData(fl, mode = "onDisk")
> pest_dda <- findChromPeaks(pest_dda, param = cwp)
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 101 regions of interest ... OK: 97 found.
>
> ## Sciex test data.
> ## fl <- dir(system.file("sciex", package = "msdata"), full.names = TRUE)
> ## sciex_data <- readMSData(fl, mode = "onDisk")
> ## sciex_data <- pickPeaks(sciex_data)
>
> test_check("xcms")
Object of class: CleanPeaksParam
Parameters:
maxPeakwidth: 13.2
Object of class: MergeNeighboringPeaksParam
Parameters:
expandRt: 5
expandMz: 0.1
ppm: 20
minProp: 0.9
8.00 16.00 24.00 28.00 32.00 40.00 48.00 52.00 56.00 60.00 64.00 72.00 80.00 84.00 88.00 96.00 100.00
8.00 16.00 28.00 32.00 40.00 64.00 80.00 96.00 100.00
8.00 16.00 24.00 28.00 32.00 40.00 48.00 52.00 56.00 60.00 64.00 72.00 80.00 84.00 88.00 96.00 100.00
8.00 16.00 28.00 32.00 40.00 56.00 64.00 80.00 88.00 96.00 100.00
8.00 16.00 24.00 28.00 32.00 40.00 48.00 52.00 56.00 60.00 64.00 72.00 80.00 84.00 88.00 96.00 100.00
Object of class: XChromatogram
length of object: 0
from file:
mz range: [NA, NA]
MS level: 1
Identified chromatographic peaks (0):
rt rtmin rtmax into maxo sn
== testthat results ===========================================================
[ OK: 2582 | SKIPPED: 7 | WARNINGS: 684 | FAILED: 0 ]
>
> proc.time()
user system elapsed
365.81 19.43 509.32
|
xcms.Rcheck/tests_x64/testthat.Rout
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(xcms)
Loading required package: Biobase
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: BiocParallel
Loading required package: MSnbase
Loading required package: mzR
Loading required package: Rcpp
Loading required package: S4Vectors
Loading required package: stats4
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: ProtGenerics
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
> library(faahKO)
> library(msdata)
>
> if (.Platform$OS.type == "unix") {
+ prm <- MulticoreParam(3)
+ } else {
+ prm <- SnowParam(3)
+ }
> register(bpstart(prm))
> ## register(SerialParam())
>
> ## Create some objects we can re-use in different tests:
> faahko_3_files <- c(system.file('cdf/KO/ko15.CDF', package = "faahKO"),
+ system.file('cdf/KO/ko16.CDF', package = "faahKO"),
+ system.file('cdf/KO/ko18.CDF', package = "faahKO"))
>
> faahko_od <- readMSData(faahko_3_files, mode = "onDisk")
Polarity can not be extracted from netCDF files, please set manually the polarity with the 'polarity' method.
> faahko_xod <- findChromPeaks(
+ faahko_od, param = CentWaveParam(noise = 10000, snthresh = 40,
+ prefilter = c(3, 10000)))
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 937 regions of interest ... OK: 87 found.
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 1025 regions of interest ... OK: 100 found.
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:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
This is MSnbase version 2.14.2
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: 'MSnbase'
The following object is masked from 'package:base':
trimws
This is xcms version 3.10.2
Attaching package: 'xcms'
The following object is masked from 'package:stats':
sigma
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 919 regions of interest ... OK: 61 found.
> od_x <- faahko_od
> mzr <- matrix(c(335, 335, 344, 344), ncol = 2, byrow = TRUE)
> od_chrs <- chromatogram(od_x, mz = mzr)
> xod_x <- faahko_xod
> pdp <- PeakDensityParam(sampleGroups = rep(1, 3))
> xod_xg <- groupChromPeaks(xod_x, param = pdp)
Processing 2572 mz slices ... OK
> xod_xgr <- adjustRtime(xod_xg, param = PeakGroupsParam(span = 0.4))
Performing retention time correction using 19 peak groups.
Applying retention time adjustment to the identified chromatographic peaks ... OK
> xod_xgrg <- groupChromPeaks(xod_xgr, param = pdp)
Processing 2572 mz slices ... OK
> xod_r <- adjustRtime(as(od_x, "XCMSnExp"), param = ObiwarpParam())
Sample number 2 used as center sample.
Aligning ko15.CDF against ko16.CDF ... OK
Aligning ko18.CDF against ko16.CDF ... OK
>
> xod_chr <- findChromPeaks(filterMz(filterRt(od_x, rt = c(2500, 3500)),
+ mz = c(334.9, 344.1)),
+ param = CentWaveParam())
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 515 regions of interest ... OK: 20 found.
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 514 regions of interest ... OK: 23 found.
Detecting mass traces at 25 ppm ... OK
Detecting chromatographic peaks in 551 regions of interest ... OK: 29 found.
Warning message:
In .local(object, param, ...) :
Your data appears to be not centroided! CentWave works best on data in centroid mode.
>
> microtofq_fs <- c(system.file("microtofq/MM14.mzML", package = "msdata"),
+ system.file("microtofq/MM8.mzML", package = "msdata"))
> microtofq_od <- readMSData(microtofq_fs, mode = "onDisk")
>
> ## Direct injection data:
> fticrf <- list.files(system.file("fticr", package = "msdata"),
+ recursive = TRUE, full.names = TRUE)
> fticr <- readMSData(fticrf[1:2], msLevel. = 1, mode = "onDisk")
> fticr_xod <- findChromPeaks(fticr, MSWParam(scales = c(1, 7),
+ peakThr = 80000, ampTh = 0.005,
+ SNR.method = "data.mean",
+ winSize.noise = 500))
> ## Pesticide data
> fl <- system.file("TripleTOF-SWATH", "PestMix1_SWATH.mzML", package = "msdata")
> pest_swth <- readMSData(fl, mode = "onDisk")
> cwp <- CentWaveParam(snthresh = 5, noise = 100, ppm = 10,
+ peakwidth = c(3, 20))
> pest_swth <- findChromPeaks(pest_swth, param = cwp)
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 69 regions of interest ... OK: 63 found.
> pest_swth <- findChromPeaksIsolationWindow(pest_swth, param = cwp)
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 5 regions of interest ... OK: 5 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 32 regions of interest ... OK: 31 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 29 regions of interest ... OK: 21 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 13 regions of interest ... OK: 10 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 92 regions of interest ... OK: 83 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 20 regions of interest ... OK: 18 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 56 regions of interest ... OK: 48 found.
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 29 regions of interest ... OK: 29 found.
>
> fl <- system.file("TripleTOF-SWATH", "PestMix1_DDA.mzML", package = "msdata")
> pest_dda <- readMSData(fl, mode = "onDisk")
> pest_dda <- findChromPeaks(pest_dda, param = cwp)
Detecting mass traces at 10 ppm ... OK
Detecting chromatographic peaks in 101 regions of interest ... OK: 97 found.
>
> ## Sciex test data.
> ## fl <- dir(system.file("sciex", package = "msdata"), full.names = TRUE)
> ## sciex_data <- readMSData(fl, mode = "onDisk")
> ## sciex_data <- pickPeaks(sciex_data)
>
> test_check("xcms")
Object of class: CleanPeaksParam
Parameters:
maxPeakwidth: 13.2
Object of class: MergeNeighboringPeaksParam
Parameters:
expandRt: 5
expandMz: 0.1
ppm: 20
minProp: 0.9
8.00 16.00 24.00 28.00 32.00 40.00 48.00 52.00 56.00 60.00 64.00 72.00 80.00 84.00 88.00 96.00 100.00
8.00 16.00 28.00 32.00 40.00 64.00 80.00 96.00 100.00
8.00 16.00 24.00 28.00 32.00 40.00 48.00 52.00 56.00 60.00 64.00 72.00 80.00 84.00 88.00 96.00 100.00
8.00 16.00 28.00 32.00 40.00 56.00 64.00 80.00 88.00 96.00 100.00
8.00 16.00 24.00 28.00 32.00 40.00 48.00 52.00 56.00 60.00 64.00 72.00 80.00 84.00 88.00 96.00 100.00
Object of class: XChromatogram
length of object: 0
from file:
mz range: [NA, NA]
MS level: 1
Identified chromatographic peaks (0):
rt rtmin rtmax into maxo sn
== testthat results ===========================================================
[ OK: 2582 | SKIPPED: 7 | WARNINGS: 684 | FAILED: 0 ]
>
> proc.time()
user system elapsed
364.00 15.76 500.92
|
|
xcms.Rcheck/examples_i386/xcms-Ex.timings
|
xcms.Rcheck/examples_x64/xcms-Ex.timings
|