Other packages > Find by keyword >

mectx  

MEchanistic Clustering - Treatment eXposure Framework
View on CRAN: Click here


Download and install mectx package within the R console
Install from CRAN:
install.packages("mectx")

Install from Github:
library("remotes")
install_github("cran/mectx")

Install by package version:
library("remotes")
install_version("mectx", "1.1.1")



Attach the package and use:
library("mectx")
Maintained by
Dipankor Dhrubo
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-05-11
Latest Update: 2026-05-11
Description:
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.
How to cite:
Dipankor Dhrubo (2026). mectx: MEchanistic Clustering - Treatment eXposure Framework. R package version 1.1.1, https://cran.r-project.org/web/packages/mectx. Accessed 24 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited mectx R package
View mectx citation profile
Other R packages that mectx depends, imports, suggests or enhances
Complete documentation for mectx
Functions, R codes and Examples using the mectx R package
Full mectx package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

forecastHybrid  
Convenient Functions for Ensemble Time Series Forecasts
Convenient functions for ensemble forecasts in R combining approaches from the 'forecast' package. ...
Download / Learn more Package Citations See dependency  
FDRsampsize  
Compute Sample Size that Meets Requirements for Average Power and FDR
Defines a collection of functions to compute average power and sample size for studies that use the ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
climwin  
Climate Window Analysis
Contains functions to detect and visualise periods of climate sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency  
magicfor  
Magic Functions to Obtain Results from for Loops
Magic functions to obtain results from for loops. ...
Download / Learn more Package Citations See dependency  
givitiR  
The GiViTI Calibration Test and Belt
Functions to assess the calibration of logistic regression models with the GiViTI (Gruppo Italiano p ...
Download / Learn more Package Citations See dependency  

29,080

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA