Learn R Programming

csmpv (version 1.0.5)

Biomarker Confirmation, Selection, Modelling, Prediction, and Validation

Description

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) , - Friedman et al. (2010) , - Simon et al. (2011) , - Harrell (2023) , - Harrell (2023) , - Chen and Guestrin (2016) , - Aoki et al. (2023) .

Copy Link

Version

Install

install.packages('csmpv')

Monthly Downloads

190

Version

1.0.5

License

MIT + file LICENSE

Maintainer

Aixiang Jiang

Last Published

December 12th, 2025

Functions in csmpv (1.0.5)

validation

Validate Model Predictions
confirmVars

Biomarker Confirmation Function
csmpvModelling

All-in-one Modelling with csmpv R package
XGBtraining_predict

Predicting XGBoost Model Scores and Performing Validation
LASSO2plus

Variable Selection and Modeling with LASSO2plus
LASSO2

Variable Selection using Modified LASSO with a Minimum of Two Remaining Variables
LASSO_plus_XGBtraining

LASSO_plus_XGBtraining: Variable Selection and XGBoost Modeling
LASSO2_predict

Predict and Validate LASSO2 Model Scores
LASSO2plus_XGBtraining

XGBoost Modeling after Variable Selection with LASSO2plus
XGBtraining

A Wrapper Function for xgboost::xgboost
LASSO2_reg

LASSO2 Variable Selection and Regular Regression Modeling
LASSO_plus

LASSO_plus Variable Selection and Modeling
LASSO2_XGBtraining

Variable Selection with LASSO2 and Modeling with XGBoost
datlist

This is an example data in csmpv
XGpred_predict

Predicting Risk Group Classification for a New Data Set
rms_model

A Wrapper for Building Predictive Models using the rms Package
XGpred

XGpred: Building Risk Classification Predictive Models using Survival Data