Package: mectx 1.1.1

Dipankor Dhrubo
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.
Authors:
mectx_1.1.1.tar.gz
mectx_1.1.1.tar.gz(r-4.7-any)mectx_1.1.1.tar.gz(r-4.6-any)
mectx_1.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
mectx/json (API)
| # Install 'mectx' in R: |
| install.packages('mectx', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:71351649ec. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 182 | ||
| source / vignettes | OK | 219 | ||
| linux-release-x86_64 | OK | 188 | ||
| wasm-release | OK | 135 |
Exports:cox_forest_plot_from_dfdominant_exclusiveget_focus_cohortkm_panel_from_dfplot_timeline_for_kprep_segsstandardise_statustimeline_paneltreatment_sharestx_cluster_survtx_compare_groupstx_durationtx_focus_dttx_intervalstx_linestx_normalizetx_pooled_analysis
Dependencies:askpassbackportsbroomclicpp11dplyrfarverforcatsgenericsggnewscaleggplot2gluegtablehereisobandjsonlitelabelinglatticelifecyclemagrittrMatrixopensslpatchworkpillarpkgconfigpngpurrrR6rappdirsRColorBrewerRcppRcppEigenRcppTOMLreticulaterlangrprojrootRSpectraS7scalesstringistringrsurvivalsystibbletidyrtidyselectumaputf8vctrsviridisLitewithr