I am an R package developer based in London, writing statistical software for biostatistics and public health.
The packages below cover pathogen genomics, single-cell exposure analysis, fairness of clinical prediction models and synthetic clinical data.
| Package | Status | Description |
|---|---|---|
| WithinHostExperiment | Variant QC, diversity and transmission bottleneck workflows for within-host pathogen sequencing data. Bioconductor page | |
| exposomeSC | Cell-type-resolved exposome-wide association (sc-ExWAS) for population single-cell RNA-seq. Bioconductor page |
| Package | Status | Description |
|---|---|---|
| lineagefreq | Pathogen lineage frequency dynamics, growth-advantage estimation and short-term forecasting from genomic surveillance counts. docs | |
| survinger | Design-adjusted inference for pathogen lineage surveillance when sequencing rates are unequal. docs | |
| clinicalfair | Group fairness metrics, ROC and calibration plots, and group-specific decision thresholds for binary clinical risk predictions. docs | |
| syntheticdata | Synthetic tabular data from a Gaussian copula or noisy bootstrap, with utility and privacy-risk metrics. docs |
Four worked analyses with the CRAN packages: variant forecasting, fairness auditing, surveillance design and synthetic-data release. cuiweig.github.io/portfolio · source
- Introducing lineagefreq: Tracking Pathogen Variant Dynamics in R
- Fair and Private Clinical Modeling in R: A Two-Package Workflow
More at cuiweig.github.io.
- R Weekly: 10 merged pull requests to rweekly/rweekly.org (tutorials and package announcements)
- Posit Community: lineagefreq tutorial post
Email 48gaocuiwei@gmail.com. For anything about a package, please open an issue on its repository.


