Skip to content

csmpv

1.0.5

Biomarker Confirmation, Selection, Modelling, Prediction, and Validation

0packages depend
2.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Aixiang JiangFirst published 2024-01-104 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 10.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
100%
References docs
88%

Downloads

2.5K
CRAN downloads in the past year
Rank #15,890 · ~7/day · ~205/mo
Daily download trend is not available in this view yet.
15330 days
66190 days
2.5K1 year
Compare downloads with other packages →
Also on157 r2u4 autocran

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.4.0stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder · added in 1.0.5
Authors (1)
Author, Maintainer, Copyright holder · added in 1.0.5
Copyright holders (1)
Author, Maintainer, Copyright holder · added in 1.0.5
Listed in earlier versions (1)
no longer listed · 1.0.1 to 1.0.3
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.5Latest
    2025-12-12 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.3
    2024-03-01 · diff ↗
  • 1.0.2
    2024-01-10 · diff ↗
  • 1.0.1
    2024-01-10
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-01-10
Total releases
4 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.4.0
Bundled data
7.8 KB / 1 file
Download size
1.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("csmpv")
Jiang, A. (2025). csmpv: Biomarker Confirmation, Selection, Modelling, Prediction, and Validation (Version 1.0.5) [Computer software]. https://doi.org/10.32614/CRAN.package.csmpv

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for csmpv version 1.0.5 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy