Scrubbing and Other Data Cleaning Routines for fMRI
Overview
Data-driven fMRI denoising with projection scrubbing (Pham et al (2022) doi:10.1016/j.neuroimage.2023.119972). Also includes routines for DVARS (Derivatives VARianceS) (Afyouni and Nichols (2018) doi:10.1016/j.neuroimage.2017.12.098), motion scrubbing (Power et al (2012) doi:10.1016/j.neuroimage.2011.10.018), aCompCor (anatomical Components Correction) (Muschelli et al (2014) doi:10.1016/j.neuroimage.2014.03.028), detrending, and nuisance regression. Projection scrubbing is also applicable to other outlier detection tasks involving high-dimensional data.
- Robust outlier detection methods have been moved to the
rrobotR package. TR_for_resp_filtargument to modified FD added
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 30 (11 internal)includes a package overview page
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 10%
- Documented parameters
- 89%
- Return-value docs
- 100%
- Help pages citing references
- 0% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 72%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
PRs over time
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/mandymejia/fmriscrub on 2026-10-21.
The R CMD check workflow runs on Linux
Show all practicesHide 2 practices
Dependencies
Installing fMRIscrub adds 7 packages (4 with compiled code, 2.9 MB of source tarballs). Heaviest: robustbase 2.2 MB, e1071 311 KB, matrixStats 207 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.15.0Latest2026-03-19 · current release · diff ↗ ·
removed 3 exports
SHASH_out, SHASH_to_normal, robdistadded 3 exports
IDvols, IDvols_xifti, flags2spikes - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.14.52023-10-25 · diff ↗
- 0.14.42023-10-23 · diff ↗
- 0.13.0
- RR 4.3.0 released · 2023-04-21
- 0.12.12023-01-25 · diff ↗ ·
removed 13 exports
CompCor, CompCor_HCP, bandstop_filter, carpetplot, carpetplot_stack, dct_bases, dct_convert, detrend, erode_vol, fsl_bptf, nuisance_regression, pct_sig, unmask_vol - unarchivedReturned to CRAN2022-07-08
- 0.11.22022-07-08 · diff ↗ ·
removed 2 exports
fusedPCA, rob_scaleadded 5 exports
bandstop_filter, carpetplot, carpetplot_stack, detrend, rob_stabilize - archivedRemoved from CRAN2022-05-02check problems were not corrected in time
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2021-09-20
- 0.8.6
- archivedRemoved from CRAN2021-09-03check problems were not corrected in time
Show 2 earlier eventsHide 2 earlier events
- 0.8.22021-08-20
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-08-20
- Total releases
- 8 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.2 MB / 2 files
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("fMRIscrub")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.