mectx
MEchanistic Clustering - Treatment eXposure Framework
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.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.1.1 |
rolling linux/jammy R-4.5 | mectx_1.1.1.tar.gz |
307.6 KiB |
1.1.1 |
rolling linux/noble R-4.5 | mectx_1.1.1.tar.gz |
307.4 KiB |
1.1.1 |
rolling source/ R- | mectx_1.1.1.tar.gz |
105.2 KiB |
1.1.1 |
latest linux/jammy R-4.5 | mectx_1.1.1.tar.gz |
307.6 KiB |
1.1.1 |
latest linux/noble R-4.5 | mectx_1.1.1.tar.gz |
307.4 KiB |
1.1.1 |
latest source/ R- | mectx_1.1.1.tar.gz |
105.2 KiB |
1.1.1 |
2026-04-23 source/ R- | mectx_1.1.1.tar.gz |
0 B |