Repository navigation
Releases
RIPPLE 0.2.0
ripple 0.2.0
- Fixed the zero pvalue bug. Now retains zero-valued Wald p-values in aggregation.
- Return complete radius neighborhoods using BiocNeighbors, now a required
dependency. - Fixed spatial diagnostics analysis distance settings.
- Now reports confounder fits without confidence as such.
- Exclude target cells from the default query-location permutation pool.
Direct calls torun_permutation_test()orrun_permutation_tests()require
target_mask_all;permutation_pool = "all"preserves the previous pool.
The GPU script also defaults to non-target cells;
--permutation-pool allselects its previous null. Standalone R analysis
scripts retain the full pool. - Update synthetic benchmarks with matched-expression recovery and runtime
results. - Refresh the CosMx vignette and bundled gradient, pathway and ligand-receptor
results. Include cached distance diagnostics. - Calculate distances and spatial neighbors within each biological sample.
Addcalculate_distance_to_type_by_sample()andcheck_coordinate_frames(). - Fixed bug on multi-slide experiments.
The source package below includes four rendered vignettes. Local validation passed 459 R assertions.
RIPPLE v0.1.0
Initial release of the RIPPLE package.
Core method
Per-replicate Poisson GLM with cell-size offset for distance-conditioned gene expression (fit_poisson(), fit_poisson_controlled()).
Cross-replicate inference via Fisher's combined p-value with sign-consistency gating (compute_fisher_pval()).
Reproducibility diagnostic n_sig_samples (number of replicates individually significant at sig_alpha) is reported on every call, so users can see which gradients are supported by multiple replicates rather than one strong sample.
Optional per-sample significance gate min_sig_fraction (default 0, off). When set, a gene is only called if at least ceiling(min_sig_fraction * n_samples) replicates are individually significant. Off by default because it trades power for stricter reproducibility (it discards genuine gradients that reach per-sample significance in only some replicates, especially in small samples).
gradient_score is defined as median_coef, the median of the per-sample Poisson GLM coefficients (equal weight per replicate).
Two-tier expression filtering (strict for regular genes, lenient for a curated set of priority genes) to rescue sparse but biologically important transcripts. The built-in priority list (chemokines, cytokines, interleukins, interferons, and receptors) is curated from MGI, NCBI Gene, and Zlotnik & Yoshie (2012); a species-matched human list is derived automatically.
Optional confounder control via bivariate GLM with a second cell type (run_ripple_confounder()).