Skip to content

Commit 1ce4269

Browse files
committed
Update to Bioconductor 3.22
1 parent 69e2f98 commit 1ce4269

File tree

7 files changed

+44
-21
lines changed

7 files changed

+44
-21
lines changed

.github/workflows/build_deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build-and-deploy:
99
runs-on: ubuntu-latest
10-
container: jorainer/xcms_tutorials:RELEASE_3_19
10+
container: jorainer/xcms_tutorials:RELEASE_3_22
1111
steps:
1212
## Most of these steps are the same as the ones in
1313
## https://github.com/r-lib/actions/blob/master/examples/check-standard.yaml
@@ -52,4 +52,4 @@ jobs:
5252
## Note that you need to run pkgdown::deploy_to_branch(new_process = FALSE)
5353
## at least one locally before this will work. This creates the gh-pages
5454
## branch (erasing anything you haven't version controlled!) and
55-
## makes the git history recognizable by pkgdown.
55+
## makes the git history recognizable by pkgdown.

.github/workflows/docker-push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
push: true
3333
tag_with_ref: true
3434
tag_with_sha: true
35-
tags: jorainer/xcms_tutorials:RELEASE_3_19
35+
tags: jorainer/xcms_tutorials:RELEASE_3_22
3636
-
3737
name: Image digest
3838
run: echo ${{ steps.docker_build.outputs.digest }}
@@ -44,4 +44,4 @@ jobs:
4444
token: ${{ secrets.REPO_GHA_PAT }}
4545
repository: ${{ github.repository }}
4646
event-type: trigger-workflow-2
47-
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
47+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: xcmsTutorials
22
Title: Exploring and Analyzing LC-MS data with Spectra and xcms
3-
Version: 1.1.2
3+
Version: 1.2.0
44
Authors@R: c(
55
person(given = "Johannes", family = "Rainer",
66
email = "[email protected]",
@@ -42,4 +42,4 @@ URL: https://jorainer.github.io/xcmsTutorials/
4242
BugReports: https://github.com/jorainer/xcmsTutorials/issues/new
4343
VignetteBuilder: knitr
4444
RoxygenNote: 7.2.3
45-
DockerImage: jorainer/xcms_tutorials:RELEASE_3_19
45+
DockerImage: jorainer/xcms_tutorials:RELEASE_3_19

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM bioconductor/bioconductor_docker:RELEASE_3_19
1+
FROM bioconductor/bioconductor_docker:RELEASE_3_22
22

33
LABEL name="jorainer/xcms_tutorials" \
44
url="https://github.com/jorainer/xcmsTutorials" \
55
maintainer="[email protected]" \
6-
description="Docker container to run xcms tutorials. This version bases on the Bioconductor release 3.19 docker image." \
6+
description="Docker container to run xcms tutorials. This version bases on the Bioconductor release 3.22 docker image." \
77
license="Artistic-2.0"
88

99
WORKDIR /home/rstudio
@@ -13,4 +13,4 @@ COPY --chown=rstudio:rstudio . /home/rstudio/
1313
## Install the xcmsTutorials package and additional required packages
1414
RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); BiocManager::install(ask = FALSE, type = 'source'); BiocManager::install(c('RCurl', 'xcms'), ask = FALSE, dependencies = TRUE, type = 'source')"
1515

16-
RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); devtools::install('.', dependencies = TRUE, type = 'source', build_vignettes = TRUE, repos = BiocManager::repositories())"
16+
RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); devtools::install('.', dependencies = TRUE, type = 'source', build_vignettes = TRUE, repos = BiocManager::repositories())"

NEWS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# xcmsTutorials 1.2
2+
3+
## Changes in 1.2.0
4+
5+
- Update to Bioconductor release 3.22 and add *xcms* reference.
6+
17
# xcmsTutorials 1.1
28

39
## Changes in 1.1.2
@@ -66,4 +72,4 @@
6672
Philippine Louail.
6773

6874

69-
# xcmsTutorials 0.1
75+
# xcmsTutorials 0.1

vignettes/references.bib

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ @article{Katajamaa:2006jh
4242
month = mar
4343
}
4444

45+
@article{louail_xcms_2025,
46+
title = {xcms in {Peak} {Form}: {Now} {Anchoring} a {Complete} {Metabolomics} {Data} {Preprocessing} and {Analysis} {Software} {Ecosystem}},
47+
issn = {0003-2700},
48+
shorttitle = {xcms in {Peak} {Form}},
49+
url = {https://doi.org/10.1021/acs.analchem.5c04338},
50+
doi = {10.1021/acs.analchem.5c04338},
51+
abstract = {High-quality data preprocessing is essential for untargeted metabolomics experiments, where increasing data set scale and complexity demand adaptable, robust, and reproducible software solutions. Modern preprocessing tools must evolve to integrate seamlessly with downstream analysis platforms, ensuring efficient and streamlined workflows. Since its introduction in 2005, the xcms R package has become one of the most widely used tools for LC-MS data preprocessing. Developed through an open-source, community-driven approach, xcms maintains long-term stability while continuously expanding its capabilities and accessibility. We present recent advancements that position xcms as a central component of a modular and interoperable software ecosystem for metabolomics data analysis. Key improvements include enhanced scalability, enabling the processing of large-scale experiments with thousands of samples on standard computing hardware. These developments empower users to build comprehensive, customizable, and reproducible workflows tailored to diverse experimental designs and analytical needs. An expanding collection of tutorials, documentation, and teaching materials further supports both new and experienced users in leveraging broader R and Bioconductor ecosystems. These resources facilitate the integration of statistical modeling, visualization tools, and domain-specific packages, extending the reach and impact of xcms workflows. Together, these enhancements solidify xcms as a cornerstone of modern metabolomics research.},
52+
urldate = {2025-12-10},
53+
journal = {Analytical Chemistry},
54+
author = {Louail, Philippine and Brunius, Carl and Garcia-Aloy, Mar and Kumler, William and Storz, Norman and Stanstrup, Jan and Treutler, Hendrik and Vangeenderhuysen, Pablo and Witting, Michael and Neumann, Steffen and Rainer, Johannes},
55+
month = dec,
56+
year = {2025},
57+
note = {Publisher: American Chemical Society},
58+
file = {Full Text PDF:/home/jo/Zotero/storage/H3PSMZ3N/Louail et al. - 2025 - xcms in Peak Form Now Anchoring a Complete Metabolomics Data Preprocessing and Analysis Software Ec.pdf:application/pdf},
59+
}
60+
4561
@article{Smith:2006ic,
4662
author = {Smith, Colin A and Want, Elizabeth J and O'Maille, Grace and Abagyan, Ruben and Siuzdak, Gary},
4763
title = {{XCMS: processing mass spectrometry data for metabolite profiling using nonlinear peak alignment, matching, and identification.}},
@@ -134,4 +150,4 @@ @article{naake_msquality_2023
134150
pmid = {37812234},
135151
keywords = {mass spectrometry, metabolomics, proteomics, quality control, R},
136152
pages = {btad618},
137-
}
153+
}

vignettes/xcms-preprocessing.Rmd

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ opts_chunk$set(message = FALSE, error = FALSE, warning = FALSE,
3434
# Abstract
3535

3636
In this document we discuss liquid chromatography (LC) mass spectrometry (MS)
37-
data handling and exploration using the `r Biocpkg("MsExperiment")` and
38-
`r Biocpkg("Spectra")` Bioconductor packages and perform the preprocessing of a
39-
small LC-MS data set using the `r Biocpkg("xcms")` package. Functionality from
40-
the `r Biocpkg("MetaboCoreUtils")` and `r Biocpkg("MsCoreUtils")` packages are
41-
used for general tasks frequently performed during metabolomics data
42-
analysis. Ultimately, the functionality from these packages can be combined to
43-
build custom, data set-specific (and reproducible) analysis workflows.
37+
data handling and exploration using the `r Biocpkg("MsExperiment")` and `r
38+
Biocpkg("Spectra")` Bioconductor packages and perform the preprocessing of a
39+
small LC-MS data set using the `r Biocpkg("xcms")` package
40+
[@louail_xcms_2025]. Functionality from the `r Biocpkg("MetaboCoreUtils")` and
41+
`r Biocpkg("MsCoreUtils")` packages are used for general tasks frequently
42+
performed during metabolomics data analysis. Ultimately, the functionality from
43+
these packages can be combined to build custom, data set-specific (and
44+
reproducible) analysis workflows.
4445

4546
In the present workshop, we first focus on data import, access and visualization
4647
which is followed by the description of a simple data centroiding approach and
@@ -1257,7 +1258,7 @@ In *xcms*, the alignment can be performed with the `adjustRtime()` function and
12571258
one of the available alignment algorithms, that can be selected, and configured,
12581259
with the respective parameter objects:
12591260

1260-
- `PeakGroupsParam`: the *peakGroups* [@Smith:2006ic] method aligns samples
1261+
- `PeakGroupsParam`: the *peakGroups* [@louail_xcms_2025] method aligns samples
12611262
based on the retention times of a set of so called *anchor peaks* (or
12621263
housekeeping peaks) in the different samples of an experiment. These peaks are
12631264
supposed to represent signal from ions expected to be present in most of the
@@ -1451,7 +1452,7 @@ respective parameter objects:
14511452

14521453
- `PeakDensityParam`: performs a simple and fast correspondence analysis based
14531454
on the density of chromatographic peaks (from different samples) along the
1454-
retention time axis within slices of small *m/z* ranges [@Smith:2006ic].
1455+
retention time axis within slices of small *m/z* ranges [@louail_xcms_2025].
14551456

14561457
Both methods group chromatographic peaks from different samples with similar
14571458
*m/z* and retention times into features. For our example we use the *peak
@@ -2352,4 +2353,4 @@ Thank you to [Philippine Louail](https://github.com/philouail) for fixing typos
23522353
and suggesting improvements.
23532354

23542355

2355-
# References
2356+
# References

0 commit comments

Comments
 (0)