Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 24 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.0%) to scientific vocabulary
Keywords
Repository
https://adafede.github.io/CentroidR
Basic Info
- Host: GitHub
- Owner: Adafede
- License: agpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://adafede.github.io/CentroidR/
- Size: 1.71 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
- Releases: 0
Topics
Metadata Files
README.md
CentroidR 
Repository to centroid profile spectra.
This repository is experimental. Use it at your own risks. Inspired from the original work at https://github.com/EuracBiomedicalResearch/batch_centroid
Requirements
Here is what you minimally need:
- An mzML file containing profile spectra
Here is a generic command in case:
bash
docker run -it --rm -e WINEDEBUG=-all -v .:/data proteowizard/pwiz-skyline-i-agree-to-the-vendor-licenses wine msconvert "path_to_your/raw/spectra.wiff" --ignoreUnknownInstrumentError
Note: If using Sciex raw format, you can use both the .wiff and the
.wiff2 format for this step.
Installation
As the package is not (yet) available on CRAN, you will need to install with:
r
install.packages(
"CentroidR",
repos = c(
"https://adafede.r-universe.dev",
"https://bioc.r-universe.dev",
"https://cloud.r-project.org"
)
)
Use
Single file
r
CentroidR::centroid_one_file(file = "path_to_your/profile/spectra.mzML",
pattern = "/profile/",
replacement = "/profile_centroided/")
bash
Rscript inst/scripts/centroiding.R --file "path_to_your/profile/spectra.mzML" --pattern "/profile/" --replacement "/profile_centroided/"
Multiple files
r
"path_to_your/profiles/" |>
list.files(pattern = ".mzML", full.names = TRUE) |>
purrr::walk(
.f = CentroidR::centroid_one_file,
pattern = "/profiles/",
replacement = "/profiles_centroided/",
.progress = TRUE)
bash
Rscript inst/scripts/centroiding.R --directory "path_to_your/profiles/" --pattern "/profiles/" --replacement "/profiles_centroided/"
bash
Rscript inst/scripts/centroiding.R --help
Docker
``` bash docker pull adafede/centroidr
docker build . -t adafede/centroidr
```
bash
docker run --rm \
-v path_to_your:/home \
adafede/centroidr \
Rscript centroiding.R --file "home/profile/spectra.mzML" --pattern "/profile/" --replacement "/profile_centroided/"
bash
docker run --rm \
-v path_to_your:/home \
adafede/centroidr \
Rscript centroiding.R --directory "home/profiles/" --pattern "/profiles/" --replacement "/profiles_centroided/"
To see all parameters
bash
docker run --rm \
-v path_to_your:/home \
adafede/centroidr \
Rscript centroiding.R --help
Citation
TODO
Additional software credits
| Package | Version | Citation | |:---|:---|:---| | base | 4.5.1 | R Core Team (2025) | | BiocManager | 1.30.26 | Morgan and Ramos (2025) | | BiocParallel | 1.43.4 | Wang et al. (2025) | | BiocVersion | 3.22.0 | Morgan (2025) | | CentroidR | 0.0.0.9001 | Rutz and Rainer (2025) | | knitr | 1.50 | Xie (2014); Xie (2015); Xie (2025) | | logger | 0.4.0 | Daróczi and Wickham (2024) | | MsCoreUtils | 1.21.0 | Rainer et al. (2022a) | | mzR | 2.43.1 | Pedrioli et al. (2004); Keller et al. (2005); Kessner et al. (2008); Martens et al. (2010); Chambers et al. (2012) | | optparse | 1.7.5 | Davis (2024) | | rmarkdown | 2.29 | Xie, Allaire, and Grolemund (2018); Xie, Dervieux, and Riederer (2020); Allaire et al. (2024) | | Spectra | 1.19.4 | Rainer et al. (2022b) | | testthat | 3.2.3 | Wickham (2011) | | tidyverse | 2.0.0 | Wickham et al. (2019) |
Owner
- Name: Adriano Rutz
- Login: Adafede
- Kind: user
- Location: Zürich, Switzerland
- Website: https://adafede.github.io/
- Repositories: 10
- Profile: https://github.com/Adafede
Pharmacist | Computational Metabolomics
Citation (CITATION.cff)
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
cff-version: 1.2.0
message: 'To cite package "CentroidR" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'CentroidR: Repository to centroid profile spectra.'
version: 0.0.0.9000
abstract: CentroidR provides the infrastructure to centroid profile spectra
authors:
- family-names: Rutz
given-names: Adriano
email: adafede@gmail.com
orcid: https://orcid.org/0000-0003-0443-9902
- family-names: Rainer
given-names: Johannes
email: Johannes.Rainer@eurac.edu
orcid: https://orcid.org/0000-0002-6977-7147
preferred-citation:
type: manual
title: 'CentroidR: Repository to centroid profile spectra.'
authors:
- family-names: Rutz
given-names: Adriano
email: adafede@gmail.com
orcid: https://orcid.org/0000-0003-0443-9902
- family-names: Rainer
given-names: Johannes
email: Johannes.Rainer@eurac.edu
orcid: https://orcid.org/0000-0002-6977-7147
year: '2025'
notes: R package, version 0.0.9000
repository: https://r-universe.dev
repository-code: https://github.com/adafede/CentroidR
url: https://adafede.github.io/CentroidR
contact:
- family-names: Rutz
given-names: Adriano
email: adafede@gmail.com
orcid: https://orcid.org/0000-0003-0443-9902
keywords:
- centroiding
- spectra
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "CentroidR",
"description": "CentroidR provides the infrastructure to centroid profile spectra.",
"name": "CentroidR: CentroidR",
"relatedLink": "https://adafede.github.io/CentroidR",
"codeRepository": "https://github.com/adafede/CentroidR",
"issueTracker": "https://github.com/adafede/CentroidR/issues",
"license": "https://spdx.org/licenses/AGPL-3.0",
"version": "0.0.0.9002",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.5.1 (2025-06-13)",
"author": [
{
"@type": "Person",
"givenName": "Adriano",
"familyName": "Rutz",
"email": "adafede@gmail.com",
"@id": "https://orcid.org/0000-0003-0443-9902"
},
{
"@type": "Person",
"givenName": "Johannes",
"familyName": "Rainer",
"email": "Johannes.Rainer@eurac.edu",
"@id": "https://orcid.org/0000-0002-6977-7147"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Adriano",
"familyName": "Rutz",
"email": "adafede@gmail.com",
"@id": "https://orcid.org/0000-0003-0443-9902"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "altdoc",
"name": "altdoc",
"version": ">= 0.5.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=altdoc"
},
{
"@type": "SoftwareApplication",
"identifier": "BiocManager",
"name": "BiocManager",
"version": ">= 1.30.25",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=BiocManager"
},
{
"@type": "SoftwareApplication",
"identifier": "BiocVersion",
"name": "BiocVersion",
"version": ">= 3.20.0",
"provider": {
"@id": "https://www.bioconductor.org",
"@type": "Organization",
"name": "Bioconductor",
"url": "https://www.bioconductor.org"
},
"sameAs": "https://bioconductor.org/packages/release/bioc/html/BiocVersion.html"
},
{
"@type": "SoftwareApplication",
"identifier": "grateful",
"name": "grateful",
"version": ">= 0.2.12",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=grateful"
},
{
"@type": "SoftwareApplication",
"identifier": "R.utils",
"name": "R.utils",
"version": ">= 2.13.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=R.utils"
},
{
"@type": "SoftwareApplication",
"identifier": "rlang",
"name": "rlang",
"version": ">= 1.1.6",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rlang"
},
{
"@type": "SoftwareApplication",
"identifier": "spelling",
"name": "spelling",
"version": ">= 2.3.1",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=spelling"
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 3.2.3",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=testthat"
}
],
"softwareRequirements": {
"1": {
"@type": "SoftwareApplication",
"identifier": "R",
"name": "R",
"version": ">= 4.4.0"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "BiocParallel",
"name": "BiocParallel",
"version": ">= 1.40.2",
"provider": {
"@id": "https://www.bioconductor.org",
"@type": "Organization",
"name": "Bioconductor",
"url": "https://www.bioconductor.org"
},
"sameAs": "https://bioconductor.org/packages/release/bioc/html/BiocParallel.html"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "logger",
"name": "logger",
"version": ">= 0.4.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=logger"
},
"4": {
"@type": "SoftwareApplication",
"identifier": "MsCoreUtils",
"name": "MsCoreUtils",
"version": ">= 1.18.0",
"provider": {
"@id": "https://www.bioconductor.org",
"@type": "Organization",
"name": "Bioconductor",
"url": "https://www.bioconductor.org"
},
"sameAs": "https://bioconductor.org/packages/release/bioc/html/MsCoreUtils.html"
},
"5": {
"@type": "SoftwareApplication",
"identifier": "mzR",
"name": "mzR",
"version": ">= 2.40.0",
"provider": {
"@id": "https://www.bioconductor.org",
"@type": "Organization",
"name": "Bioconductor",
"url": "https://www.bioconductor.org"
},
"sameAs": "https://bioconductor.org/packages/release/bioc/html/mzR.html"
},
"6": {
"@type": "SoftwareApplication",
"identifier": "optparse",
"name": "optparse",
"version": ">= 1.7.5",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=optparse"
},
"7": {
"@type": "SoftwareApplication",
"identifier": "purrr",
"name": "purrr",
"version": ">= 1.1.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=purrr"
},
"8": {
"@type": "SoftwareApplication",
"identifier": "Spectra",
"name": "Spectra",
"version": ">= 1.16.1",
"provider": {
"@id": "https://www.bioconductor.org",
"@type": "Organization",
"name": "Bioconductor",
"url": "https://www.bioconductor.org"
},
"sameAs": "https://bioconductor.org/packages/release/bioc/html/Spectra.html"
},
"SystemRequirements": null
},
"keywords": [
"centroiding",
"spectra",
"centroid",
"mass-spectra",
"mass-spectrometry",
"r"
],
"fileSize": "1164.445KB",
"citation": [
{
"@type": "SoftwareSourceCode",
"datePublished": "2025",
"author": [
{
"@type": "Person",
"givenName": "Adriano",
"familyName": "Rutz",
"email": "adafede@gmail.com",
"@id": "https://orcid.org/0000-0003-0443-9902"
},
{
"@type": "Person",
"givenName": "Johannes",
"familyName": "Rainer",
"email": "Johannes.Rainer@eurac.edu",
"@id": "https://orcid.org/0000-0002-6977-7147"
}
],
"name": "CentroidR: CentroidR provides the infrastructure to centroid profile spectra",
"description": "R package, version 0.0.9000"
}
],
"releaseNotes": "https://github.com/adafede/CentroidR/blob/main/NEWS.md",
"readme": "https://github.com/Adafede/CentroidR/blob/main/README.md",
"contIntegration": [
"https://github.com/adafede/CentroidR/actions/workflows/R-CMD-check.yaml",
"https://app.codecov.io/gh/adafede/CentroidR"
],
"developmentStatus": "https://lifecycle.r-lib.org/articles/stages.html#experimental"
}
GitHub Events
Total
- Issues event: 6
- Delete event: 2
- Issue comment event: 4
- Public event: 1
- Push event: 163
- Pull request event: 3
- Create event: 4
Last Year
- Issues event: 6
- Delete event: 2
- Issue comment event: 4
- Public event: 1
- Push event: 163
- Pull request event: 3
- Create event: 4
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 3
- Total pull requests: 2
- Average time to close issues: 2 minutes
- Average time to close pull requests: about 6 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 3
- Pull requests: 2
- Average time to close issues: 2 minutes
- Average time to close pull requests: about 6 hours
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 2
Top Authors
Issue Authors
- Adafede (3)
Pull Request Authors
- renovate[bot] (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- caltechlibrary/waystation main composite
- actions/github-script v7 composite
- actions/cache v4 composite
- actions/download-artifact v4 composite
- actions/upload-artifact v4 composite
- docker/build-push-action v6 composite
- docker/login-action v3 composite
- docker/metadata-action v5 composite
- docker/setup-buildx-action v3 composite
- docker/setup-qemu-action v3 composite
- SimenB/github-actions-cpu-cores v2 composite
- actions/checkout v4 composite
- r-lib/actions/setup-r v2 composite
- JamesIves/github-pages-deploy-action v4.7.2 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v4 composite
- insightsengineering/r-license-report v1 composite
- c-hive/gha-remove-artifacts v1 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- codecov/codecov-action v5 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v4 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- R >= 4.3.0 depends
- MSnbase >= 2.28.1 imports
- logger >= 0.4.0 imports
- BiocManager * suggests
- R.utils * suggests
- knitr * suggests
- spelling * suggests
- testthat * suggests
- bioconductor/bioconductor_docker 3.20-R-4.4.2 build
