Skip to content

Commit

Permalink
Merge branch 'devel' into phili
Browse files Browse the repository at this point in the history
  • Loading branch information
philouail committed Mar 21, 2024
2 parents 55a1f6e + d54ae36 commit 9ee2512
Show file tree
Hide file tree
Showing 76 changed files with 2,570 additions and 188 deletions.
33 changes: 18 additions & 15 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: xcms
Version: 4.1.10
Version: 4.1.12
Title: LC-MS and GC-MS Data Analysis
Description: Framework for processing and visualization of chromatographically
separated and single-spectra mass spectral data. Imports from AIA/ANDI NetCDF,
Expand Down Expand Up @@ -39,34 +39,34 @@ Authors@R: c(
person(given = "Pablo", family = "Vangeenderhuysen",
email = "pablo.vangeenderhuysen@ugent.be",
role = "ctb",
comment = c(ORCID = "0000-0002-5492-6904"))
comment = c(ORCID = "0000-0002-5492-6904")),
person(given = "Carl", family = "Brunius",
email = "carl.brunius@chalmers.se",
role = "ctb",
comment = c(ORCID = "0000-0003-3957-870X"))
)
Depends:
R (>= 4.0.0),
BiocParallel (>= 1.8.0),
MSnbase (>= 2.23.1)
BiocParallel (>= 1.8.0)
Imports:
MSnbase (>= 2.29.3),
mzR (>= 2.25.3),
methods,
Biobase,
BiocGenerics,
ProtGenerics (>= 1.35.2),
ProtGenerics (>= 1.35.4),
lattice,
RColorBrewer,
plyr,
RANN,
MassSpecWavelet (>= 1.66.0),
S4Vectors,
robustbase,
IRanges,
SummarizedExperiment,
MsCoreUtils (>= 1.15.3),
MsCoreUtils (>= 1.15.5),
MsFeatures,
MsExperiment (>= 1.5.4),
Spectra (>= 1.13.2),
Spectra (>= 1.13.7),
progress,
multtest,
jsonlite,
RColorBrewer,
MetaboCoreUtils (>= 1.11.2)
Suggests:
BiocStyle,
Expand All @@ -80,18 +80,21 @@ Suggests:
rmarkdown,
MALDIquant,
pheatmap,
RANN,
multtest,
MsBackendMgf,
signal
signal,
mgcv
Enhances:
Rgraphviz,
rgl,
XML
rgl
License: GPL (>= 2) + file LICENSE
URL: https://github.com/sneumann/xcms
BugReports: https://github.com/sneumann/xcms/issues/new
VignetteBuilder: knitr
biocViews: ImmunoOncology, MassSpectrometry, Metabolomics
RoxygenNote: 7.3.1
Encoding: UTF-8
Collate:
'AllGenerics.R'
'functions-XChromatograms.R'
Expand Down
46 changes: 22 additions & 24 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
useDynLib(xcms)
useDynLib(xcms, .registration = TRUE)

importFrom("utils", "capture.output", "data")
import("methods")
importMethodsFrom("ProtGenerics", "peaks", "chromatogram", "writeMSData",
"polarity<-", "centroided", "isCentroided", "peaks<-",
"isolationWindowTargetMz", "quantify", "bin", "spectrapply",
"filterFeatures", "filterMzRange")
"filterFeatures", "filterMzRange", "filterRt", "filterMz", "filterMsLevel")
importClassesFrom("ProtGenerics", "Param")
importFrom("BiocGenerics", "updateObject", "fileName", "subset",
"dirname", "dirname<-")
Expand All @@ -18,18 +17,12 @@ importMethodsFrom("Biobase", "phenoData",
importFrom("IRanges", "CharacterList", "NumericList")
importClassesFrom("IRanges", "CharacterList", "NumericList")

importFrom("graphics", "image", "boxplot", "matplot", "rect", "axis",
"grid", "mtext", "polygon", "box", "plot.xy")
importFrom("mzR", "peaks", "close", "openMSfile", "header")
importFrom("lattice", "levelplot", "panel.rect", "panel.levelplot",
"level.colors", "do.breaks")
importFrom("plyr", "rbind.fill")
importFrom("robustbase", "lmrob", "lmrob.control")
import("RColorBrewer")
import("BiocParallel")
## importMethodsFrom("stats4", "plot")
importFrom("BiocParallel", "bpparam", "SerialParam")
importMethodsFrom("BiocParallel", "bplapply", "bpmapply")

## import("S4Vectors")
importClassesFrom("S4Vectors", "Rle", "DataFrame", "Hits")
importFrom("S4Vectors", "split", "Rle", "DataFrame", "SimpleList", "List",
"as.matrix")
Expand All @@ -40,13 +33,14 @@ importFrom("SummarizedExperiment", "rowData")
importFrom("SummarizedExperiment", "rowData<-")
importFrom("SummarizedExperiment", "assay")
importFrom("MsCoreUtils", "rbindFill", "closest", "i2index", "sumi", "between",
"maxi", "breaks_ppm")
"maxi", "breaks_ppm", "force_sorted")
importFrom("RColorBrewer", "brewer.pal")

## Additional imports proposed by R CMD check:
importFrom("graphics", "abline", "barplot", "close.screen", "hist",
"identify", "layout", "legend", "lines", "par", "plot.new",
"plot.window", "points", "screen", "split.screen",
"strwidth", "text", "title")
importFrom("graphics", "image", "boxplot", "matplot", "rect", "axis",
"grid", "mtext", "polygon", "box", "plot.xy", "abline",
"barplot", "close.screen", "hist", "identify", "layout",
"legend", "lines", "par", "plot.new", "plot.window", "points",
"screen", "split.screen", "strwidth", "text", "title")
importFrom("grDevices", "col2rgb", "colorRampPalette", "dev.cur",
"dev.list", "dev.off", "dev.set", "palette", "pdf", "png",
"rainbow", "rgb", "terrain.colors", "n2mfrow", "dev.flush",
Expand All @@ -55,14 +49,11 @@ importFrom("stats", "aov", "approx", "convolve", "cor", "deriv3",
"dist", "fft", "fitted", "lm", "loess", "lsfit", "median",
"na.omit", "nextn", "nls", "predict", "pt", "quantile",
"runmed", "sd", "stepfun", "weighted.mean", "density", "approxfun",
"rnorm", "runif", "dbeta")
"rnorm", "runif", "dbeta", "resid")
importFrom("utils", "flush.console", "head", "object.size",
"packageVersion", "read.csv", "tail", "write.csv",
"write.table")
"write.table", "capture.output", "data")

## New imports from packages moved from Suggests to Imports:
importFrom("multtest", "mt.teststat")
importFrom("RANN", "nn2")
importFrom("MassSpecWavelet", "peakDetectionCWT", "tuneInPeakInfo")

## MSnbase:
Expand Down Expand Up @@ -260,7 +251,10 @@ export(
"groupOverlaps",
"estimatePrecursorIntensity",
"featureArea",
"loadXcmsData"
"loadXcmsData",
"matchLamasChromPeaks",
"summarizeLamaMatch",
"matchedRtimes"
)

## New analysis methods
Expand All @@ -284,6 +278,7 @@ exportClasses(
"MzClustParam",
"NearestPeaksParam",
"PeakGroupsParam",
"LamaParama",
"ObiwarpParam",
"GenericParam",
"FillChromPeaksParam",
Expand Down Expand Up @@ -453,6 +448,7 @@ export("CentWaveParam",
"MzClustParam",
"NearestPeaksParam",
"PeakGroupsParam",
"LamaParama",
"ObiwarpParam",
"GenericParam",
"FillChromPeaksParam",
Expand Down Expand Up @@ -590,6 +586,8 @@ importFrom("progress", "progress_bar")
exportClasses("XcmsExperiment")
exportMethods("uniqueMsLevels")
exportMethods("filterMzRange")
exportMethods("fromFile")
exportMethods("fileNames")

## saving xcms objects things
importFrom("jsonlite", "serializeJSON", "write_json", "unserializeJSON",
Expand All @@ -601,7 +599,7 @@ exportMethods("storeResults")

## filtering features things
importFrom("MetaboCoreUtils", "rowRsd", "rowDratio", "rowPercentMissing",
"rowBlank")
"rowBlank", "mclosest")
export("RsdFilter")
export("DratioFilter")
export("PercentMissingFilter")
Expand Down
Loading

0 comments on commit 9ee2512

Please sign in to comment.