Package: rrda 0.2.3

Julie Aubert

rrda: Ridge Redundancy Analysis for High-Dimensional Omics Data

Efficient framework for ridge redundancy analysis (rrda), tailored for high-dimensional omics datasets where the number of predictors exceeds the number of samples. The method leverages Singular Value Decomposition (SVD) to avoid direct inversion of the covariance matrix, enhancing scalability and performance. It also introduces a memory-efficient storage strategy for coefficient matrices, enabling practical use in large-scale applications. The package supports cross-validation for selecting regularization parameters and reduced-rank dimensions, making it a robust and flexible tool for multivariate analysis in omics research. Please refer to our article (Yoshioka et al., 2025) for more details.

Authors:Hayato Yoshioka [aut], Julie Aubert [aut, cre], Tristan Mary-Huard [aut]

rrda_0.2.3.tar.gz
rrda_0.2.3.tar.gz(r-4.7-any)rrda_0.2.3.tar.gz(r-4.6-any)
rrda_0.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rrda/json (API)

# Install 'rrda' in R:
install.packages('rrda', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

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

1.15 score 14 scripts 190 downloads 10 exports 44 dependencies

Last updated from:8a9e05eed4. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK175
source / vignettesOK164
linux-release-x86_64OK171
wasm-releaseOK113

Exports:rdasim1rdasim2rrda.coefrrda.cvrrda.fitrrda.heatmaprrda.plotrrda.predictrrda.summaryrrda.top

Dependencies:clicodetoolscpp11digestdplyrfarverfurrrfuturegenericsggplot2globalsgluegtableisobandlabelinglatticelifecyclelistenvmagrittrMASSMatrixparallellypheatmappillarpkgconfigplyrpurrrR6RColorBrewerRcppRcppEigenreshape2rlangRSpectraS7scalesstringistringrtibbletidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Generate a list of rank-specific Bhat matrices (the coefficient of Ridge Redundancy Analysis for each parameter lambda and nrank).Bhat_mat_rlist
Compute the components of the coefficient Bhat using SVD.get_Bhat_comp
Estimate an appropriate value for the ridge penalty (lambda).get_lambda
Generate rank-specific matrices by combining the left and right components.get_rlist
Compute MSE for different ranks of the coefficient Bhat and lambda.MSE_lambda_rank
Generate simulated data for Ridge Redundancy Analysis (RDA).rdasim1
Generate simulated data for Ridge Redundancy Analysis (RDA).rdasim2
Calculate the Bhat matrix from the return of the 'rrda.fit' function.rrda.coef
Cross-validation for Ridge Redundancy Analysisrrda.cv
Calculate the coefficient Bhat by Ridge Redundancy Analysis.rrda.fit
Heatmap of the results of cross-validation for Bhat obtained from the 'rrda.cv' function.rrda.heatmap
Plot the results of cross-validation for Bhat obtained from the 'rrda.cv' function.rrda.plot
Calculate the predicted matrix Yhat using the coefficient Bhat obtained from the 'rrda.fit' function.rrda.predict
Summarize the results of cross-validation for the coefficient Bhat obtained from the 'rrda.cv' function.rrda.summary
Top feature interactions visualization with rank and lambda penaltyrrda.top
Compute the square root of the inverse of (d^2 + lambda).sqrt_inv_d2_lambda
Scale a matrix using unbiased estimators for the mean and standard deviation.unbiased_scale
Unscale a matrix based on provided mean and standard deviation values.unscale_matrices
Apply unscaling to a nested list of matrices using specified mean and standard deviation values.unscale_nested_matrices_map
Generate a list of rank-specific Yhat matrices.Yhat_mat_rlist