Skip to content

Multi-Resolution Scanning for Cross-Sample and Cross-Group Differences

0packages depend
916downloads / year
92.6%test coverage
13/13flavors OK

Overview

About

Implements the multi-resolution scanning (MRS) method for cross-sample distribution comparisons, as described in Soriano and Ma (2017) doi:10.1111/rssb.12180, and the analysis of distributional variation (ANDOVA) method for cross-group comparisons introduced in Ma and Soriano (2018) doi:10.1080/10618600.2017.1402774. Both methods use nonparametric models on multi-resolution partition trees to detect and characterize differences among distributions, with tools for visualizing the results.

Changes in 1.3.2
  • Standardized reproducibility seeds across examples, demos, tests, and archived simulation scripts to 12345.
  • Consolidated the former standalone examples into three non-redundant, reproducible visual demos. They cover one-dimensional Bayesian FDR, observed-versus-shuffled two-dimensional scans, pooled versus replicate-aware fitting across small, medium, and large replicate counts, both ANDOVA integration methods, baseline effects, and representative multiresolution trees.
  • Restored current CRAN metadata and registered all native routines.
  • Replaced deprecated Armadillo index-returning max() calls and fixed an uninitialized-variable path in the C++ tree traversal.
  • Added input validation that prevents invalid dimensions, labels, bounds, and tuning parameters from reaching the C++ core.
Show all changes in 1.3.2Hide the rest of the changes in 1.3.2
  • Restored the version 1.2.6 ANDOVA midpoint-quadrature default; deterministic and randomized compatibility suites now reproduce legacy numerical and tree results.
  • Preserved the legacy default sample-space bounds for ordinary data while safely supporting constant and non-positive dimensions.
  • Documented posterior sampling, effect-size baselines, numerical integration, and Bayesian-FDR plotting introduced on the development branch.
  • Fixed posterior sample matrix shaping and direction probabilities, multidimensional sampling, sampling without a representative tree, Bayesian-FDR matrix indexing, and a Riemann-quadrature second-moment error.
  • Kept sampled ANDOVA probabilities inside their valid domain and removed undefined behavior in dyadic bin conversion and region reconstruction.
  • Added numerical compatibility, posterior-sampling, invariant, validation, plotting, and native-routine regression tests.
  • Removed the unused optimx dependency and replaced the igraph-backed representative-tree renderer with a deterministic base-graphics renderer.
  • Added explicit return-value documentation for all exported plotting and print methods, including the meaning of their graphical or printed side effects.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-07-23
Advisories

none known

Documentation

In release 1.3.2
READMEYes · 267 wordsVignettesNoNEWSYes · 67% structured · mentions 1.3.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
8
Examples that run
100%7 run in a plain check
Exported functions with examples
83%
Documented parameters
92%
Return-value docs
100%
Help pages citing references
88%

Also includes 3 demo scripts (run with demo())

Downloads

916
CRAN downloads in the past year
Rank #13,387 · ~3/day · ~76/mo
Daily download trend is not available in this view yet.
29330 days
86290 days
9161 year
Compare downloads with other packages →
Also on321 r2u2 autocran

Repository

0Stars
0Forks
0Open PRs
0Releases
Last activity 2026-07-22
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
not measured
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/mastatlab/mrs on 2026-10-18.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing MRS adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (0)
none
Imports (1)
LinkingTo (2)
Suggests (2)
KernSmoothtestthat
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.2.4 (2018)

Previously maintained by Jacopo Soriano (1.0 to 1.2.3).

Releases (11)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-07-22
  • 1.3.2Latest
    record
    2026-07-22 · current release · diff ↗ ·
    added 1 export
    plot1DSigWindows
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • archivedRemoved from CRAN
    2025-02-03
    issues were not corrected in time UBSAN error at https://www.stats.ox.ac.uk/pub/bdr/M1-SAN/MRS/
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.6
    record
    2023-12-11 · diff ↗
  • 1.2.5
    record
    2023-12-09 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.2.4
    record
    2018-01-23 · diff ↗
  • 1.2.3
    record
    2018-01-07 · diff ↗
Show 9 earlier eventsHide 9 earlier events

Package metadata

First published
2015-12-07
Total releases
11 / 11 yrs
License
GPL (>= 3) OSI
Download size
44 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MRS")
Ma, L., & Soriano, J. (2026). MRS: Multi-Resolution Scanning for Cross-Sample and Cross-Group Differences (Version 1.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.MRS

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MRS version 1.3.2 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy