inphr
0.0.1Statistical Inference for Persistence Homology Data
Overview
A set of functions for performing null hypothesis testing on samples of persistence diagrams using the theory of permutations. Currently, only two-sample testing is implemented. Inputs can be either samples of persistence diagrams themselves or vectorizations. In the former case, they are embedded in a metric space using either the Bottleneck or Wasserstein distance. In the former case, persistence data becomes functional data and inference is performed using tools available in the 'fdatest' package. Main reference for the interval-wise testing method: Pini A., Vantini S. (2017) "Interval-wise testing for functional data" doi:10.1080/10485252.2017.1306627. Main reference for inference on populations of networks: Lovato, I., Pini, A., Stamm, A., & Vantini, S. (2020) "Model-free two-sample test for network-valued data" doi:10.1016/j.csda.2019.106896.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Repository
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.0 median / 10 max
- Test cases
- 31 / 0.01 per code line
- Documented parameters
- 93%
Test coverage
Line coverage
100%
Expression
100.0%
Tests / Examples
100.0% / 44% ex
Functions
5 2 exported
Complexity
4 avg / 10 max
Call network
5 nodes / 2 edges
Call graph
Open call graph →Lowest coverage
5 functions| Function | Cyclo | Coverage |
|---|---|---|
| two_sample_diagram_test exp | 5 | 100% |
| two_sample_functional_test exp | 1 | 100% |
| compute_distance_matrix | 3 | 100% |
| null_spec | 1 | 100% |
| parse_inputs | 10 | 100% |
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.0.1Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-09-01
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 77 KB / 3 files
- Download size
- 323 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet