generate_plsr: Identify significant PLSR coefficients for pairs of left and...

View source: R/generate_plsr.R

generate_plsrR Documentation

Identify significant PLSR coefficients for pairs of left and right objects.

Description

This function computes PLSR coefficients and p-values between the rows of the two matrices provided ("left" and "right"). This regression is performed separately for each left item; i.e. in each iteration, a separate PLS regression is performed which explains

Usage

generate_plsr(left, right, p_val_threshold = 1e-04, verbose = FALSE)

Arguments

left

Matrix of left objects

right

Matrix of right objects

p_val_threshold

Threshold for significant p-values in PLSR.

verbose

Whether to print output.

Details

The maximum number of components for PLSR is the number of columns in the right matrix or the number of rows minus one, whichever is less.

Value

A list containing the following named values: p_list - A list containing left-right pairs with significant values (above p_val_threshold) non_p_list - A list containing left-right pairs with non-significant values comp - the maximum number of PLS components.


MollahLab/gen3DNet documentation built on Nov. 18, 2024, 5:08 a.m.