Package: csmpv 1.0.5

csmpv: Biomarker Confirmation, Selection, Modelling, Prediction, and Validation

There are diverse purposes such as biomarker confirmation, novel biomarker discovery, constructing predictive models, model-based prediction, and validation. It handles binary, continuous, and time-to-event outcomes at the sample or patient level. - Biomarker confirmation utilizes established functions like glm() from 'stats', coxph() from 'survival', surv_fit(), and ggsurvplot() from 'survminer'. - Biomarker discovery and variable selection are facilitated by three LASSO-related functions LASSO2(), LASSO_plus(), and LASSO2plus(), leveraging the 'glmnet' R package with additional steps. - Eight versatile modeling functions are offered, each designed for predictive models across various outcomes and data types. 1) LASSO2(), LASSO_plus(), LASSO2plus(), and LASSO2_reg() perform variable selection using LASSO methods and construct predictive models based on selected variables. 2) XGBtraining() employs 'XGBoost' for model building and is the only function not involving variable selection. 3) Functions like LASSO2_XGBtraining(), LASSOplus_XGBtraining(), and LASSO2plus_XGBtraining() combine LASSO-related variable selection with 'XGBoost' for model construction. - All models support prediction and validation, requiring a testing dataset comparable to the training dataset. Additionally, the package introduces XGpred() for risk prediction based on survival data, with the XGpred_predict() function available for predicting risk groups in new datasets. The methodology is based on our new algorithms and various references: - Hastie et al. (1992, ISBN 0 534 16765-9), - Therneau et al. (2000, ISBN 0-387-98784-3), - Kassambara et al. (2021) <https://CRAN.R-project.org/package=survminer>, - Friedman et al. (2010) <doi:10.18637/jss.v033.i01>, - Simon et al. (2011) <doi:10.18637/jss.v039.i05>, - Harrell (2023) <https://CRAN.R-project.org/package=rms>, - Harrell (2023) <https://CRAN.R-project.org/package=Hmisc>, - Chen and Guestrin (2016) <doi:10.48550/arXiv.1603.02754>, - Aoki et al. (2023) <doi:10.1200/JCO.23.01115>.

Authors:Aixiang Jiang [aut, cre, cph]

csmpv_1.0.5.tar.gz
csmpv_1.0.5.zip(r-4.7)csmpv_1.0.5.zip(r-4.6)csmpv_1.0.5.zip(r-4.5)
csmpv_1.0.5.tgz(r-4.6-any)csmpv_1.0.5.tgz(r-4.5-any)
csmpv_1.0.5.tar.gz(r-4.7-any)csmpv_1.0.5.tar.gz(r-4.6-any)
csmpv_1.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
csmpv/json (API)

# Install 'csmpv' in R:
install.packages('csmpv', repos = c('https://ajiangsfu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ajiangsfu/csmpv/issues

Datasets:
  • datlist - This is an example data in csmpv

On CRAN:

Conda:

3.70 score 1 stars 5 scripts 206 downloads 16 exports 132 dependencies

Last updated from:b2412c9871. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK223
source / vignettesOK388
linux-release-x86_64OK224
macos-release-arm64OK243
macos-oldrel-arm64OK172
windows-develOK160
windows-releaseOK138
windows-oldrelOK135
wasm-releaseOK159

Exports:confirmVarscsmpvModellingLASSO_plusLASSO_plus_XGBtrainingLASSO2LASSO2_predictLASSO2_regLASSO2_XGBtrainingLASSO2plusLASSO2plus_XGBtrainingrms_modelvalidationXGBtrainingXGBtraining_predictXGpredXGpred_predict

Dependencies:abindbackportsbase64encbootbroombslibcachemcarcarDatacheckmatecliclustercodetoolscolorspacecommonmarkcorrplotcowplotcpp11curldata.tableDerivdigestdoBydplyrevaluateexactRankTestsfarverfastmapfontawesomeforeachforecastforeignforestmodelFormulafracdifffsgenericsggplot2ggpubrggrepelggsciggsignifggtextglmnetgluegridExtragridtextgtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobanditeratorsjpegjquerylibjsonliteknitrlabelinglatticelifecyclelitedownlme4lmtestmagrittrmarkdownMASSMatrixMatrixModelsmaxstatmemoisemgcvmicrobenchmarkmimeminqamodelrmultcompmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpngpolsplinepolynompurrrquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrmarkdownrmsrpartrstatixrstudioapiS7sandwichsassscalesshapeSparseMstringistringrsurvivalsurvminerTH.datatibbletidyrtidyselecttimeDatetinytexurcautf8vctrsviridisLitewithrxfunxgboostxml2yamlzoo

csmpv

Rendered fromcsmpv_vignette.rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2025-12-12
Started: 2025-12-12