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:Richard A. Feiss IV [aut, cre]

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

On CRAN:

Conda:

1.70 score 146 downloads 26 exports 0 dependencies

Last updated from:3837d16b92. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK110
source / vignettesOK125
linux-release-x86_64OK99
macos-release-arm64OK123
macos-oldrel-arm64OK98
windows-develOK65
windows-releaseOK89
windows-oldrelOK74
wasm-releaseOK90

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 pageTopics
KWELA: Hierarchical Adaptive 'RT-QuIC' ClassificationKWELA-package KWELA
Separation Quality Assessmentassess_separation cohens_d
Compute Instability Flags for a Treatmentcompute_instability_flags
Compute Stochastic Profilecompute_stochastic_profile
Proper Scoring Rulescrps_empirical dawid_sebastiani interval_score log_predictive_score
Stochasticity Metricscv fano_factor normalized_stochastic_index snr_vs_control ssmd
Distance Metricsenergy_distance log_euclidean_distance mahalanobis_distance wasserstein_1d
Information-Theoretic Metricsentropy jensen_shannon
KWELA Main Analysis Functionkwela_analyze
Plate Normalization and Bootstrapkwela_bootstrap_summary kwela_plate_normalize
KWELA Summary and Diagnosticskwela_diagnostics kwela_summarize
Utility Functionsrobust_scale safe_sd