Package: ViralEntropR 0.6.2

Vadim Tyuryaev

ViralEntropR: A Computational Pipeline for Entropy-Informed Detection of Emerging Viral Variants

Implements an entropy-informed pipeline for detecting emerging variants in viral amino acid sequence data, extending prior clustering-based approaches including hemagglutinin clustering methods (Li et al., 2015) <doi:10.1142/9789814667944_0018>. Provides a fully vectorized FASTA preprocessing toolkit covering header parsing, two-pass date and country extraction, ambiguous-residue filtering, and integer encoding under a 25-symbol amino acid alphabet. Computes per-site Shannon entropy across user-defined cumulative, sliding, or disjoint temporal partitions and clusters per-site entropy values using Gaussian mixture models via 'mclust' (Scrucca et al., 2016) <doi:10.32614/RJ-2016-021>. Quantifies temporal distributional shifts between partitions using the Hellinger distance (van der Vaart, 1998) <doi:10.1017/CBO9780511802256>, and detects temporal change points non-parametrically using energy statistics (Matteson and James, 2014) <doi:10.1080/01621459.2013.849605> via 'ecp' or wild binary segmentation (Fryzlewicz, 2014) <doi:10.1214/14-AOS1245> via 'HDcpDetect'. Per-site amino-acid frequency tables and entropy trajectory plots characterize sequence composition and evolutionary dynamics across time. A configurable multi-variant simulation engine generates synthetic sequence time series with known ground truth for benchmarking detection pipelines. A curated dataset of SARS-CoV-2 Variants of Concern and Variants of Interest with associated lineage and surveillance metadata is included, along with a bundled National Center for Biotechnology Information (NCBI) Spike protein sample and vignettes demonstrating the full workflow.

Authors:Vadim Tyuryaev [aut, cre], Jane Heffernan [aut], Hanna Jankowski [aut]

ViralEntropR_0.6.2.tar.gz
ViralEntropR_0.6.2.tar.gz(r-4.7-any)ViralEntropR_0.6.2.tar.gz(r-4.6-any)
ViralEntropR_0.6.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ViralEntropR/json (API)
NEWS

# Install 'ViralEntropR' in R:
install.packages('ViralEntropR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/vadimtyuryaev/viralentropr/issues

Pkgdown/docs site:https://vadimtyuryaev.github.io

Datasets:

On CRAN:

Conda:

3.18 score 17 exports 56 dependencies

Last updated from:a9b293057a. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK170
source / vignettesOK221
linux-release-x86_64OK195
wasm-releaseOK136

Exports:calculate_entropycalculate_hellinger_matrixcluster_sites_by_entropydecode_aa_sequencedetect_changepoints_ecpdetect_changepoints_hdcpencode_aa_sequenceextract_fasta_countriesextract_fasta_datesfasta_to_char_matrixfilter_ambiguous_sequencespartition_time_windowsplot_entropy_trajectoriesplot_site_class_trajectoryrelabel_entropy_classessimulate_variant_evolutiontabulate_site_evolution

Dependencies:base64encbslibcachemclicpp11digestecpevaluatefarverfastmapfontawesomefsgenericsggplot2gluegtableHDcpDetecthighrhtmltoolsisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclelubridatemagrittrmclustmemoisemimeR6rappdirsRColorBrewerRcpprlangrmarkdownrstudioapiS7sassscalesstringistringrsvglitesystemfontstextshapingtimechangetinytexvctrsviridisLitewithrxfunxml2yamlzoo

Entropy Clustering, Hellinger Distance, and Change Point Analysis for Emerging Viral Variant Detection: A Simulation Study

Rendered fromdetecting_variants_simulation.html.asisusingR.rsp::asison May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30

NCBI SARS-CoV-2 Spike Protein Sequence Preprocessing: From Raw FASTA to an Analysis-Ready Integer-Encoded Matrix

Rendered frompreprocessing_pipeline.html.asisusingR.rsp::asison May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30

Unsupervised Recovery of SARS-CoV-2 Variant Structure via Entropy-Driven Site Selection and PAM Clustering: Precision, Recall, and F1 Evaluation Across Wild-Type and Delta-Dominated Surveillance Periods

Rendered fromclustering_accuracy.html.asisusingR.rsp::asison May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30