mectx
1.1.1MEchanistic Clustering - Treatment eXposure Framework
Overview
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.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-128 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
1 release. R releases are shown for context.
- 1.1.1Latest2026-05-11 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-11
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.4.0
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Start here. This is the citation for the package itself.
citation("mectx")CRAN DOI
https://doi.org/10.32614/CRAN.package.mectxBibTeX, derived from DESCRIPTION
@Manual{mectx,
title = {mectx: MEchanistic Clustering - Treatment eXposure Framework},
author = {Dhrubo, Dipankor and Spakowicz, Daniel},
year = {2026},
note = {R package version 1.1.1},
doi = {10.32614/CRAN.package.mectx},
url = {https://CRAN.R-project.org/package=mectx}
}Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.
This is the citation for the package. It is not a citation for the R Observatory.
Cite this page
Use this when the claim is about a measurement on this page.
BibTeX
@misc{robservatorymectx,
author = {Balamuta, James Joseph},
title = {{R} {Observatory}: Metrics for {mectx} version 1.1.1},
year = {2026},
publisher = {HJJB, LLC},
url = {https://r-observatory.thecoatlessprofessor.com/packages/mectx},
note = {Data set. Data release v2026-08-05}
}APA
Balamuta, J. J. (2026). R Observatory: Metrics for mectx version 1.1.1 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/mectxRIS
TY - DATA
AU - Balamuta, James Joseph
TI - R Observatory: Metrics for mectx version 1.1.1
PY - 2026
PB - HJJB, LLC
N1 - Data release v2026-08-05
UR - https://r-observatory.thecoatlessprofessor.com/packages/mectx
ER - In prose
These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/mectx.Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.