Package: KWELA 1.0.0
KWELA: Hierarchical Adaptive 'RT-QuIC' Classification for Complex Matrices
Extends 'RT-QuIC' (Real-Time Quaking-Induced Conversion) statistical analysis to complex environmental matrices through hierarchical adaptive classification. 'KWELA' is named after a deity of the Fore people of Papua New Guinea, among whom Kuru, a notable human prion disease, was identified. Implements a 6-layer architecture: hard gate biological constraints, per-well adaptive scoring, separation-aware combination, Youden-optimized cutoffs, replicate consensus, and matrix instability detection. Features dual-mode operation (diagnostic/research), auto-profile selection (Standard/Sensitive/Matrix-Robust), RAF integration for artifact detection, matrix-aware baseline correction, and multiple consensus rules. Methods include energy distance (Szekely and Rizzo (2013) <doi:10.1016/j.jspi.2013.03.018>), CRPS (Gneiting and Raftery (2007) <doi:10.1198/016214506000001437>), SSMD (Zhang (2007) <doi:10.1016/j.ygeno.2007.01.005>), and Jensen-Shannon divergence (Lin (1991) <doi:10.1109/18.61115>). This package implements methodology currently under peer review; please contact the author before publication using this approach. Development followed an iterative human-machine collaboration where all algorithmic design, statistical methodologies, and biological validation logic were conceptualized, tested, and iteratively refined by Richard A. Feiss through repeated cycles of running experimental data, evaluating analytical outputs, and selecting among candidate algorithms and approaches. AI systems ('Anthropic Claude' and 'OpenAI GPT') served as coding assistants and analytical sounding boards under continuous human direction. The selection of statistical methods, evaluation of biological plausibility, and all final methodology decisions were made by the human author. AI systems did not independently originate algorithms, statistical approaches, or scientific methodologies.
Authors:
KWELA_1.0.0.tar.gz
KWELA_1.0.0.zip(r-4.7)KWELA_1.0.0.zip(r-4.6)KWELA_1.0.0.zip(r-4.5)
KWELA_1.0.0.tgz(r-4.6-any)KWELA_1.0.0.tgz(r-4.5-any)
KWELA_1.0.0.tar.gz(r-4.7-any)KWELA_1.0.0.tar.gz(r-4.6-any)
KWELA_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
KWELA/json (API)
NEWS
| # Install 'KWELA' in R: |
| install.packages('KWELA', repos = c('https://rfeissiv.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rfeissiv/kwela/issues
Last updated from:3837d16b92. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 110 | ||
| source / vignettes | OK | 125 | ||
| linux-release-x86_64 | OK | 99 | ||
| macos-release-arm64 | OK | 123 | ||
| macos-oldrel-arm64 | OK | 98 | ||
| windows-devel | OK | 65 | ||
| windows-release | OK | 89 | ||
| windows-oldrel | OK | 74 | ||
| wasm-release | OK | 90 |
Exports:assess_separationcohens_dcompute_instability_flagscompute_stochastic_profilecrps_empiricalcvdawid_sebastianienergy_distanceentropyfano_factorinterval_scorejensen_shannonkwela_analyzekwela_bootstrap_summarykwela_diagnosticskwela_plate_normalizekwela_summarizelog_euclidean_distancelog_predictive_scoremahalanobis_distancenormalized_stochastic_indexrobust_scalesafe_sdsnr_vs_controlssmdwasserstein_1d
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| KWELA: Hierarchical Adaptive 'RT-QuIC' Classification | KWELA-package KWELA |
| Separation Quality Assessment | assess_separation cohens_d |
| Compute Instability Flags for a Treatment | compute_instability_flags |
| Compute Stochastic Profile | compute_stochastic_profile |
| Proper Scoring Rules | crps_empirical dawid_sebastiani interval_score log_predictive_score |
| Stochasticity Metrics | cv fano_factor normalized_stochastic_index snr_vs_control ssmd |
| Distance Metrics | energy_distance log_euclidean_distance mahalanobis_distance wasserstein_1d |
| Information-Theoretic Metrics | entropy jensen_shannon |
| KWELA Main Analysis Function | kwela_analyze |
| Plate Normalization and Bootstrap | kwela_bootstrap_summary kwela_plate_normalize |
| KWELA Summary and Diagnostics | kwela_diagnostics kwela_summarize |
| Utility Functions | robust_scale safe_sd |
