Skip to content

ropls

Bioc current

PCA, PLS(-DA) and OPLS(-DA) for multivariate analysis and feature selection of omics data

v1.44.0 · software · CeCILL

Release Lineage

Entered 3.2 · Oct 14, 2015

Current · Requires R 4.6

1.0 In 22 of 49 releases 3.23

Description

Latent variable modeling with Principal Component Analysis (PCA) and Partial Least Squares (PLS) are powerful methods for visualization, regression, classification, and feature selection of omics data where the number of variables exceeds the number of samples and with multicollinearity among variables. Orthogonal Partial Least Squares (OPLS) enables to separately model the variation correlated (predictive) to the factor of interest and the uncorrelated (orthogonal) variation. While performing similarly to PLS, OPLS facilitates interpretation. Successful applications of these chemometrics techniques include spectroscopic data such as Raman spectroscopy, nuclear magnetic resonance (NMR), mass spectrometry (MS) in metabolomics and proteomics, but also transcriptomics data. In addition to scores, loadings and weights plots, the package provides metrics and graphics to determine the optimal number of components (e.g. with the R2 and Q2 coefficients), check the validity of the model by permutation testing, detect outliers, and perform feature selection (e.g. with Variable Importance in Projection or regression coefficients). The package can be accessed via a user interface on the Workflow4Metabolomics.org online resource for computational metabolomics (built upon the Galaxy environment).

Test coverage

Line coverage

Expression

Tests / Examples

Functions

25 3 exported

Complexity

17.8 avg / 162 max

Call network

25 nodes / 15 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

12,604

Files

70

Compiled share

0%

Has compiled src

No

Language breakdown

R 8,277 (65.7%)Tests 661 (5.2%)Docs 2,236 (17.7%)Vignettes 1,430 (11.3%)

API

Exported functions

20

Internal functions

22

Recent export changes

v3.9+2 getEset, imageF

Testing & CI

Has tests

Yes

Test-to-code ratio

0.08

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

3

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

CeCILL

License flags

not SPDX, not OSI

History

Versions

22

First release

2016-02-12

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

100%

Dep drift

11

LOC over versions

v3.2: 5,313 LOCv3.3: 6,274 LOCv3.4: 7,854 LOCv3.5: 7,854 LOCv3.6: 7,854 LOCv3.7: 7,854 LOCv3.8: 7,759 LOCv3.9: 9,017 LOCv3.10: 10,688 LOCv3.11: 10,704 LOCv3.12: 10,704 LOCv3.13: 10,715 LOCv3.14: 10,714 LOCv3.15: 11,888 LOCv3.16: 12,417 LOCv3.17: 12,417 LOCv3.18: 12,417 LOCv3.19: 12,449 LOCv3.20: 12,604 LOCv3.21: 12,604 LOCv3.22: 12,604 LOCv3.23: 12,604 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
96%
Return-value docs
100%
References docs
31%

Topics

Depended on by (13)

CRAN (3)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ropls")
Thevenot, E. A. (2026). ropls: PCA, PLS(-DA) and OPLS(-DA) for multivariate analysis and feature selection of omics data (Version 1.44.0) [Computer software]. https://bioconductor.org/packages/ropls

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 ropls version 1.44.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, 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