Package: asmbPLS 1.0.0

Runzhi Zhang

asmbPLS: Predicting and Classifying Patient Phenotypes with Multi-Omics Data

Adaptive Sparse Multi-block Partial Least Square, a supervised algorithm, is an extension of the Sparse Multi-block Partial Least Square, which allows different quantiles to be used in different blocks of different partial least square components to decide the proportion of features to be retained. The best combinations of quantiles can be chosen from a set of user-defined quantiles combinations by cross-validation. By doing this, it enables us to do the feature selection for different blocks, and the selected features can then be further used to predict the outcome. For example, in biomedical applications, clinical covariates plus different types of omics data such as microbiome, metabolome, mRNA data, methylation data, copy number variation data might be predictive for patients outcome such as survival time or response to therapy. Different types of data could be put in different blocks and along with survival time to fit the model. The fitted model can then be used to predict the survival for the new samples with the corresponding clinical covariates and omics data. In addition, Adaptive Sparse Multi-block Partial Least Square Discriminant Analysis is also included, which extends Adaptive Sparse Multi-block Partial Least Square for classifying the categorical outcome.

Authors:Runzhi Zhang [aut, cre], Susmita Datta [aut, ths]

asmbPLS_1.0.0.tar.gz
asmbPLS_1.0.0.tar.gz(r-4.5-noble)asmbPLS_1.0.0.tar.gz(r-4.4-noble)
asmbPLS_1.0.0.tgz(r-4.4-emscripten)asmbPLS_1.0.0.tgz(r-4.3-emscripten)
asmbPLS.pdf |asmbPLS.html
asmbPLS/json (API)

# Install 'asmbPLS' in R:
install.packages('asmbPLS', repos = 'https://cloud.r-project.org')
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda-Forge:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascppopenmp

2.70 score 321 downloads 15 exports 72 dependencies

Last updated 2 years agofrom:09734978c2. Checks:3 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 07 2025
R-4.5-linux-x86_64OKMar 07 2025
R-4.4-linux-x86_64OKMar 07 2025

Exports:asmbPLS.cvasmbPLS.fitasmbPLS.predictasmbPLSDA.cvasmbPLSDA.fitasmbPLSDA.predictasmbPLSDA.vote.fitasmbPLSDA.vote.predictmbPLS.fitmeanimpplotCorplotPLSplotRelevancequantileCombto.categorical

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynompurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Tutorial for asmbPLS package

Rendered fromasmbPLS_tutorial.Rmdusingknitr::rmarkdownon Mar 07 2025.

Last update: 2023-04-17
Started: 2023-04-17

Citation

To cite asmbPLS in publications use:

Zhang R, Datta S (2023). “asmbPLS: Adaptive Sparse Multi-block Partial Least Square for Survival Prediction using Multi-Omics Data.” bioRxiv, 2023.04.03.535442. https://www.biorxiv.org/content/biorxiv/early/2023/04/05/2023.04.03.535442.full.pdf.

Corresponding BibTeX entry:

  @Article{,
    title = {asmbPLS: Adaptive Sparse Multi-block Partial Least Square
      for Survival Prediction using Multi-Omics Data},
    author = {Runzhi Zhang and Susmita Datta},
    journal = {bioRxiv},
    year = {2023},
    pages = {2023.04.03.535442},
    url =
      {https://www.biorxiv.org/content/biorxiv/early/2023/04/05/2023.04.03.535442.full.pdf},
  }

Readme and manuals

asmbPLS: Predicting and Classfying Patient Phenotypes with Multi-omics Data

Runzhi Zhang, Susmita Datta

Description

Adaptive Sparse Multi-block Partial Least Square (asmbPLS), a supervised algorithm, is an extension of the smbPLS, which allows different quantiles to be used in different blocks of different PLS components to decide the proportion of features to be retained. The best combinations of quantiles can be chosen from a set of user-defined quantile combinations by cross-validation. By doing this, asmbPLS enables us to do the feature selection for different blocks, and the selected features can then be further used to predict the outcome. For example, in biomedical applications, clinical covariates plus different types of omics data such as microbiome, metabolome, mRNA data, methylation data, and CNV data might be predictive for patients' outcomes such as survival time or response to therapy. Different types of data could be put in different blocks along with survival time to fit the asmbPLS model. The fitted model can then be used to predict the survival of the new samples with the corresponding clinical covariates and omics data.

In addition, Adaptive Sparse Multi-block Partial Least Square Discriminant Analysis (asmbPLS-DA) is also included, which extends asmbPLS for classifying the categorical outcome.

R package installation

devtools::install_github("RunzhiZ/asmbPLS")

If you want to build the vignettes, you should include build_vignettes = TRUE.

devtools::install_github("RunzhiZ/asmbPLS", build_vignettes = TRUE, force = TRUE)
Common errors for MAC users:
  • Error 1:
ld: library not found for -lgfortran

Solution for error 1: install the required tools https://mac.r-project.org/tools/

  • Error 2:
clang: error: unsupported option '-fopenmp'

Possible solution for error 2: https://stackoverflow.com/questions/43555410/enable-openmp-support-in-clang-in-mac-os-x-sierra-mojave

Installation error report

If you have more errors installing the R package, please report to runzhi.zhang@ufl.edu

Tutorial

Click here to view the tutorial for the R package

References

  • Zhang R, Datta S: asmbPLS: Adaptive Sparse Multi-block Partial Least Square for Survival Prediction using Multi-Omics Data. bioRxiv 2023:2023.2004.2003.535442.

Help Manual

Help pageTopics
Predicting and Classifying Patient Phenotypes with Multi-Omics DataasmbPLS-package asmbPLS
Cross-validation for asmbPLS to find the best combinations of quantiles for predictionasmbPLS.cv
Example data for asmbPLS algorithmasmbPLS.example
asmbPLS for block-structured dataasmbPLS.fit
Using an asmbPLS model for prediction of new samplesasmbPLS.predict
Cross-validation for asmbPLS-DA to find the best combinations of quantiles for classificationasmbPLSDA.cv
Example data for asmbPLS-DA algorithmasmbPLSDA.example
asmbPLS-DA for block-structured dataasmbPLSDA.fit
Using an asmbPLS-DA model for classification of new samplesasmbPLSDA.predict
asmbPLS-DA vote model fitasmbPLSDA.vote.fit
Using an asmbPLS-DA vote model for classification of new samplesasmbPLSDA.vote.predict
mbPLS for block-structured datambPLS.fit
Mean imputation for the survival timemeanimp
Graphical output for the asmbPLS-DA frameworkplotCor
PLS plot for asmbPLS-DAplotPLS
Relevance plot for asmbPLS-DAplotRelevance
Create the quantile combination set for asmbPLS and asmbPLS-DAquantileComb
Converts a class vector to a binary class matrixto.categorical