{
  "_id": "6a104513acfb0bcc41c9e654",
  "Package": "csmpv",
  "Type": "Package",
  "Title": "Biomarker Confirmation, Selection, Modelling, Prediction, and\nValidation",
  "Version": "1.0.5",
  "Authors@R": "person(given = \"Aixiang\",\nfamily = \"Jiang\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"aijiang@bccrc.ca\",\ncomment = c(ORCID = \"0000-0002-6153-7595\"))",
  "Maintainer": "Aixiang Jiang <aijiang@bccrc.ca>",
  "VignetteBuilder": "knitr",
  "Description": "There are diverse purposes such as biomarker confirmation,\nnovel biomarker discovery, constructing predictive models,\nmodel-based prediction, and validation. It handles binary,\ncontinuous, and time-to-event outcomes at the sample or patient\nlevel. - Biomarker confirmation utilizes established functions\nlike glm() from 'stats', coxph() from 'survival', surv_fit(),\nand ggsurvplot() from 'survminer'. - Biomarker discovery and\nvariable selection are facilitated by three LASSO-related\nfunctions LASSO2(), LASSO_plus(), and LASSO2plus(), leveraging\nthe 'glmnet' R package with additional steps. - Eight versatile\nmodeling functions are offered, each designed for predictive\nmodels across various outcomes and data types. 1) LASSO2(),\nLASSO_plus(), LASSO2plus(), and LASSO2_reg() perform variable\nselection using LASSO methods and construct predictive models\nbased on selected variables. 2) XGBtraining() employs 'XGBoost'\nfor model building and is the only function not involving\nvariable selection. 3) Functions like LASSO2_XGBtraining(),\nLASSOplus_XGBtraining(), and LASSO2plus_XGBtraining() combine\nLASSO-related variable selection with 'XGBoost' for model\nconstruction. - All models support prediction and validation,\nrequiring a testing dataset comparable to the training dataset.\nAdditionally, the package introduces XGpred() for risk\nprediction based on survival data, with the XGpred_predict()\nfunction available for predicting risk groups in new datasets.\nThe methodology is based on our new algorithms and various\nreferences: - Hastie et al. (1992, ISBN 0 534 16765-9), -\nTherneau et al. (2000, ISBN 0-387-98784-3), - Kassambara et al.\n(2021) <https://CRAN.R-project.org/package=survminer>, -\nFriedman et al. (2010) <doi:10.18637/jss.v033.i01>, - Simon et\nal. (2011) <doi:10.18637/jss.v039.i05>, - Harrell (2023)\n<https://CRAN.R-project.org/package=rms>, - Harrell (2023)\n<https://CRAN.R-project.org/package=Hmisc>, - Chen and Guestrin\n(2016) <doi:10.48550/arXiv.1603.02754>, - Aoki et al. (2023)\n<doi:10.1200/JCO.23.01115>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Config/pak/sysreqs": "cmake make libicu-dev libjpeg-dev libpng-dev\nlibuv1-dev libxml2-dev libssl-dev",
  "Repository": "https://ajiangsfu.r-universe.dev",
  "Date/Publication": "2025-12-12 02:45:40 UTC",
  "RemoteUrl": "https://github.com/ajiangsfu/csmpv",
  "RemoteRef": "HEAD",
  "RemoteSha": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
  "Packaged": {
    "Date": "2026-05-11 06:18:36 UTC",
    "User": "root"
  },
  "Author": "Aixiang Jiang [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6153-7595>)",
  "MD5sum": "209fd7b0fa934bdcc94b1fda1607ec7b",
  "_user": "ajiangsfu",
  "_type": "src",
  "_file": "csmpv_1.0.5.tar.gz",
  "_fileid": "b0f67a2da2d8746ac3e3ff158a10e67e034cc1f555a1c01ed6e1dc9c352e5d10",
  "_filesize": 5404476,
  "_sha256": "b0f67a2da2d8746ac3e3ff158a10e67e034cc1f555a1c01ed6e1dc9c352e5d10",
  "_created": "2026-05-11T06:18:36.000Z",
  "_published": "2026-05-22T11:59:15.203Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77374838708,
      "time": 223,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6911600607"
    },
    {
      "job": 77374838950,
      "time": 224,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911599286"
    },
    {
      "job": 77374839316,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6911583262"
    },
    {
      "job": 77374838848,
      "time": 243,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911593596"
    },
    {
      "job": 77374838537,
      "time": 388,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911548994"
    },
    {
      "job": 77374838492,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159936229"
    },
    {
      "job": 77374838904,
      "time": 160,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6911585743"
    },
    {
      "job": 77374839378,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6911579149"
    },
    {
      "job": 77374838980,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911579854"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ajiangsfu/csmpv",
  "_commit": {
    "id": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
    "author": "Aixiang Jiang <ajiangsfu@bccrc.ca>",
    "committer": "Aixiang Jiang <ajiangsfu@bccrc.ca>",
    "message": "Update to csmpv1.0.5\n",
    "time": 1765507540
  },
  "_maintainer": {
    "name": "Aixiang Jiang",
    "email": "aijiang@bccrc.ca",
    "login": "ajiangsfu",
    "orcid": "0000-0002-6153-7595",
    "uuid": 26752366
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "rms",
      "role": "Imports"
    },
    {
      "package": "forestmodel",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "survminer",
      "role": "Imports"
    },
    {
      "package": "xgboost",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    }
  ],
  "_owner": "ajiangsfu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_userbio": {
    "uuid": 26752366,
    "type": "user",
    "name": "Aixiang Jiang, PhD in Biostatistics, McGill University"
  },
  "_downloads": {
    "count": 206,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/csmpv"
  },
  "_devurl": "https://github.com/ajiangsfu/csmpv",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/csmpv.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ajiangsfu/csmpv",
  "_realowner": "ajiangsfu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2024-01-10"
    },
    {
      "version": "1.0.2",
      "date": "2024-01-10"
    },
    {
      "version": "1.0.3",
      "date": "2024-03-01"
    },
    {
      "version": "1.0.5",
      "date": "2025-12-12"
    }
  ],
  "_exports": [
    "confirmVars",
    "csmpvModelling",
    "LASSO_plus",
    "LASSO_plus_XGBtraining",
    "LASSO2",
    "LASSO2_predict",
    "LASSO2_reg",
    "LASSO2_XGBtraining",
    "LASSO2plus",
    "LASSO2plus_XGBtraining",
    "rms_model",
    "validation",
    "XGBtraining",
    "XGBtraining_predict",
    "XGpred",
    "XGpred_predict"
  ],
  "_datasets": [
    {
      "name": "datlist",
      "title": "This is an example data in csmpv",
      "object": "datlist",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "confirmVars",
      "title": "Biomarker Confirmation Function",
      "topics": [
        "confirmVars"
      ]
    },
    {
      "page": "csmpvModelling",
      "title": "All-in-one Modelling with csmpv R package",
      "topics": [
        "csmpvModelling"
      ]
    },
    {
      "page": "datlist",
      "title": "This is an example data in csmpv",
      "topics": [
        "datlist"
      ]
    },
    {
      "page": "LASSO_plus",
      "title": "LASSO_plus Variable Selection and Modeling",
      "topics": [
        "LASSO_plus"
      ]
    },
    {
      "page": "LASSO_plus_XGBtraining",
      "title": "LASSO_plus_XGBtraining: Variable Selection and XGBoost Modeling",
      "topics": [
        "LASSO_plus_XGBtraining"
      ]
    },
    {
      "page": "LASSO2",
      "title": "Variable Selection using Modified LASSO with a Minimum of Two Remaining Variables",
      "topics": [
        "LASSO2"
      ]
    },
    {
      "page": "LASSO2_predict",
      "title": "Predict and Validate LASSO2 Model Scores",
      "topics": [
        "LASSO2_predict"
      ]
    },
    {
      "page": "LASSO2_reg",
      "title": "LASSO2 Variable Selection and Regular Regression Modeling",
      "topics": [
        "LASSO2_reg"
      ]
    },
    {
      "page": "LASSO2_XGBtraining",
      "title": "Variable Selection with LASSO2 and Modeling with XGBoost",
      "topics": [
        "LASSO2_XGBtraining"
      ]
    },
    {
      "page": "LASSO2plus",
      "title": "Variable Selection and Modeling with LASSO2plus",
      "topics": [
        "LASSO2plus"
      ]
    },
    {
      "page": "LASSO2plus_XGBtraining",
      "title": "XGBoost Modeling after Variable Selection with LASSO2plus",
      "topics": [
        "LASSO2plus_XGBtraining"
      ]
    },
    {
      "page": "rms_model",
      "title": "A Wrapper for Building Predictive Models using the rms Package",
      "topics": [
        "rms_model"
      ]
    },
    {
      "page": "validation",
      "title": "Validate Model Predictions",
      "topics": [
        "validation"
      ]
    },
    {
      "page": "XGBtraining",
      "title": "A Wrapper Function for xgboost::xgboost",
      "topics": [
        "XGBtraining"
      ]
    },
    {
      "page": "XGBtraining_predict",
      "title": "Predicting XGBoost Model Scores and Performing Validation",
      "topics": [
        "XGBtraining_predict"
      ]
    },
    {
      "page": "XGpred",
      "title": "XGpred: Building Risk Classification Predictive Models using Survival Data",
      "topics": [
        "XGpred"
      ]
    },
    {
      "page": "XGpred_predict",
      "title": "Predicting Risk Group Classification for a New Data Set",
      "topics": [
        "XGpred_predict"
      ]
    }
  ],
  "_readme": "https://github.com/ajiangsfu/csmpv/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "commonmark",
    "corrplot",
    "cowplot",
    "cpp11",
    "curl",
    "data.table",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "evaluate",
    "exactRankTests",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "forecast",
    "foreign",
    "forestmodel",
    "Formula",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "ggtext",
    "glmnet",
    "glue",
    "gridExtra",
    "gridtext",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "litedown",
    "lme4",
    "lmtest",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "MatrixModels",
    "maxstat",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "png",
    "polspline",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstatix",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "shape",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "survminer",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xgboost",
    "xml2",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "csmpv_vignette.rmd",
      "filename": "csmpv_vignette.html",
      "title": "csmpv",
      "author": "Aixiang Jiang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "I Installation",
        "II Example Code",
        "1. Example data",
        "2. Biomarker confirmation/validation",
        "2.1 Binary outcome",
        "2.2 Continous outcome",
        "2.3 Time-to-event outcome",
        "3. Biomarker discovery with variable selection",
        "3.1 Variable selection with LASSO2",
        "3.1.1 Binary outcome",
        "3.1.2 Continuous outcome",
        "3.1.3 Time-to-event outcome",
        "3.2 Variable selection with LASSO2plus",
        "Binary outcome",
        "Continuous outcome",
        "Time-to-event outcome",
        "3.3. Variable selection with LASSO_plus",
        "4. Predictive model development",
        "4.1 LASSO2",
        "4.2 LASSO2 + regular regression",
        "4.3 LASSO_plus",
        "4.4 LASSO2plus",
        "4.5 XGBoost",
        "4.6 LASSO2 + XGBoost",
        "4.7 LASSO_plus  + XGBoost",
        "4.8 LASSO2plus  + XGBoost",
        "5. Model prediction",
        "5.1 LASSO2 prediction",
        "Binary ouctome",
        "Continuous ouctome",
        "Time-to-event ouctome",
        "5.2 LASSO2 + regular regression prediction",
        "5.3  LASSO_plus prediction",
        "5.4 LASSO2plus prediction",
        "5.5 XGBoost prediction",
        "5.6 LASSO2 + XGBoost prediction",
        "5.7 LASSO_plus + XGBoost prediction",
        "1) Binary ouctome",
        "2) Continuous ouctome",
        "3) Time-to-event ouctome",
        "5.8 LASSO2plus + XGBoost prediction",
        "6. (External) Model Validation",
        "6.1 LASSO2 validation",
        "6.2 LASSO2 + regular regression validation",
        "6.3 LASSO_plus validation",
        "6.4 LASSO2plus validation",
        "6.5 XGBoost validation",
        "6.6 LASSO2 + XGBoost validation",
        "6.7 LASSO_plus + XGBoost validation",
        "6.8 LASSO2plus + XGBoost validation",
        "7. All-in-one!",
        "8. Special modelling",
        "csmpv R package general information",
        "References"
      ],
      "created": "2025-12-12 02:45:40",
      "modified": "2025-12-12 02:45:40",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "csmpv",
  "_universes": [
    "ajiangsfu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-05-11T06:21:43.000Z",
      "distro": "noble",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "4a272737f8059ac8aa33afca619383b13f1b8c7103edc1b4247a42713a338ae1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-05-11T06:21:35.000Z",
      "distro": "noble",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "57905c31876fd14abdce49b365a77387af4c9381d3272efb4ffb029aee91621c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-05-11T06:20:52.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "986e62e5c63b05beed136a53678805ba77bbaac4847d5aedeedc50a092071c8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-05-11T06:21:13.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "6fef50823c2f1b76dd9c686196031fe1fab5fec197b199b6b3bcdfb73617f733",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-05-11T06:20:24.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "b2e1dfec9ff7328d0d37604a91a6f862560cac8810ac07340673019139111519",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-05-11T06:20:02.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "6ccdee0f8ff6aa968f21c951760c7b7e997bd46bc511622179d671a8691d1d46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-05-11T06:20:03.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "005e21cfc2806094ee0b3791bbb8ad0876064a9c11ef1cc540511b48edadc146",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-05-22T11:58:57.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "ec0e08a9913353eeb75ff8ad362457c5e4e04082c8639a5f2c3e363934b91330",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/25653505105"
    }
  ]
}