{
  "_id": "6a50bd3b89c83ec243a3027f",
  "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-07-10 09:32:14 UTC",
    "User": "root"
  },
  "Author": "Aixiang Jiang [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6153-7595>)",
  "_user": "ajiangsfu",
  "_type": "src",
  "_file": "csmpv_1.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/621c0b1a1a1421991211feb2fb8d297fa0b5e22eb897ec07b7dffe540a3035f8",
  "_filesize": 5419472,
  "_sha256": "621c0b1a1a1421991211feb2fb8d297fa0b5e22eb897ec07b7dffe540a3035f8",
  "_expires": "2026-10-18T09:36:57.000Z",
  "_created": "2026-07-10T09:32:14.000Z",
  "_published": "2026-07-10T09:36:59.350Z",
  "_jobs": [
    {
      "job": 86331314357,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8223785116"
    },
    {
      "job": 86331314350,
      "time": 235,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8223787832"
    },
    {
      "job": 86331314355,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8223757292"
    },
    {
      "job": 86331314338,
      "time": 211,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8223766677"
    },
    {
      "job": 86330093341,
      "time": 397,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8223697254"
    },
    {
      "job": 86331314423,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8223760056"
    },
    {
      "job": 86331314345,
      "time": 219,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8223782134"
    },
    {
      "job": 86331314374,
      "time": 204,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8223776039"
    },
    {
      "job": 86331314353,
      "time": 203,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8223775827"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 26752366
  },
  "_distro": "resolute",
  "_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",
    "followers": 0
  },
  "_downloads": {
    "count": 329,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/csmpv"
  },
  "_devurl": "https://github.com/ajiangsfu/csmpv",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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",
    "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-07-10T09:35:18.000Z",
      "distro": "resolute",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/81feeb49e0b84acbb208391cc1787245ea058360ae74c15b2994880d35dadb25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-07-10T09:35:25.000Z",
      "distro": "resolute",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/9cc40c8997a6fe5a61e99b11d76cbdbfa014155969405b399992f678c15bc82b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-07-10T09:34:29.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/c8b78ccd49accbfeddc4c15bd71a8e277d25e6c833649c8b5e6b01200ac4d799",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-07-10T09:34:45.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/fe2c2a8c486224adddaa85582587cd633843f7905b87d75c3a993bdc3d565456",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-07-10T09:35:16.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/76342df2bd6784d9c18ac70fcb54062226a1d9d8d693c3a6cc4c209a00d27bc7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-07-10T09:34:57.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/9239054ea394dad24364196ea5b241e79b70f66823c591daa235f60db7456987",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-07-10T09:34:44.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/8bcebd7cff47471a7b4ca2c58043f2a46b71efc8f9ae68e81628a7ac1efcecb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-07-10T09:34:44.000Z",
      "commit": "b2412c98713c2de96bcfbb3e525b4eefb03d6c35",
      "fileid": "https://r2.ropensci.org/7e48065b8df482b4506dea9affaf8fdfc841b9ada50323eff0369bb8cb5ae0de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ajiangsfu/actions/runs/29083006630"
    }
  ]
}