Skip to content

Fisher Exact Scanning for Dependency

0packages depend
586downloads / year
93.1%test coverage
13/13flavors OK

Overview

About

Implements Fisher exact scanning (FES), a multiscale test of dependence for continuous or discrete bivariate data. The method scans nested binary partitions using Fisher's exact tests and combines evidence across windows and resolutions with Sidak, Bonferroni, and meta-analysis corrections. The methodology is described in Ma and Mao (2019) doi:10.1080/01621459.2017.1397522.

Changes in 1.0

This is the first official CRAN release of FES, the reference R

implementation of Fisher exact scanning for dependency.

Package interface

  • Converted the original scripts into an installable, documented R package.
  • Renamed the public analysis function from fisherScan() to the concise package-level interface fes().
  • Standardized the public spelling of the Sidak correction in the returned Sidak component and the plot.sidak argument.
  • Replaced the fixed Figures/ output switch with output.dir, so files are written only to a directory explicitly supplied by the user.
  • Added opt-in window-level results and structure plots so FES can locate and characterize dependencies in addition to testing for their presence.
Show all changes in 1.0Hide the rest of the changes in 1.0

Statistical and computational improvements

  • Restored the intended active-resolution count in the global p-value calculation; a historical sum() call with no argument always returned zero.
  • Added input validation, numerically stable Sidak corrections, bounded p-values, and safe handling of resolutions with no testable windows.

Visualization and examples

  • Improved plotting and corrected the window-level Sidak adjustment used in plots. Scan panels now use colorblind-friendly shared scales, informative annotations, observation overlays, and high-contrast significance outlines.
  • Added visual demos covering the original example, nonlinear dependence, localized dependence, dependency maps, local direction changes, and evidence across scanning resolutions.
  • Added demos showing how FES learns local direction changes, circular structure, and alternating association patterns.
  • Structure maps now default to a single automatically selected partition stratum, avoiding hard-to-read overlaps across resolution levels. Explicit stratum selection and an opt-in cross-resolution overlay remain available.

Quality and release infrastructure

  • Added automated tests, package citation metadata, and continuous integration.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 59 s · r-oldrel-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.0
READMEYes · 374 wordsVignettesNoNEWSYes · 67% structured · mentions 1.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
3 (1 internal)includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
73%
Return-value docs
100%
Help pages citing references
67%

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

Downloads

586
CRAN downloads in the past year
Rank #22,932 · ~2/day · ~49/mo
Daily download trend is not available in this view yet.
21230 days
56890 days
5861 year
Compare downloads with other packages →
Also on15 r2u2 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
13Commits
3Commit identities
License file reads as GPL-3.0 · 13 commits · Last activity 2026-07-14
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
0
PracticesBeta

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

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

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing FES adds no packages beyond those that come with R.

Depends (1)
R >= 3.6.0
Imports (4)
graphicsgrDevicesmethodsstats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0 (2026), Copyright holder
Releases (1)
  • 1.0Latest
    2026-07-22 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-22
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.6.0
Download size
19 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("FES")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1080/01621459.2017.1397522.

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 FES version 1.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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