Implements the MEC-TX (MEchanistic Clustering - Treatment eXposure) framework for encoding, clustering, and survival analysis of real-world oncology treatment timelines. Provides functions for normalising medication records, computing treatment intervals, performing k-means clustering in PCA space, assigning line-of-therapy labels, and comparing survival outcomes across treatment groups. Designed for use with registry-based cohorts such as the ORIEN AVATAR dataset. Methods follow the digital-twin framework described in Dhrubo and Spakowicz (2026) <https://github.com/spakowiczlab/mec-tx>. treatment timelines using the MEC-TX digital-twin framework.
| Version: | 1.1.1 |
| Depends: | R (≥ 4.4.0) |
| Imports: | magrittr, broom, dplyr, forcats, ggnewscale, ggplot2, patchwork, purrr, stats, stringr, survival, tibble, tidyr, umap |
| Suggests: | testthat (≥ 3.0.0), devtools, roxygen2 |
| Published: | 2026-05-11 |
| DOI: | 10.32614/CRAN.package.mectx |
| Author: | Dipankor Dhrubo [aut, cre],
Daniel Spakowicz |
| Maintainer: | Dipankor Dhrubo <dhrubo.2 at osu.edu> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README |
| CRAN checks: | mectx results |
| Reference manual: | mectx.html , mectx.pdf |
| Package source: | mectx_1.1.1.tar.gz |
| Windows binaries: | r-devel: mectx_1.1.1.zip, r-release: mectx_1.1.1.zip, r-oldrel: mectx_1.1.1.zip |
| macOS binaries: | r-release (arm64): mectx_1.1.1.tgz, r-oldrel (arm64): mectx_1.1.1.tgz, r-release (x86_64): mectx_1.1.1.tgz, r-oldrel (x86_64): mectx_1.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=mectx to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.