Performs sparse partial least squares regression on processed slots (rna and protein)

spls_wrapper(
  multiassay,
  dependent,
  ncomp = 3,
  test.keepX_rna = c(50, 60, 70, 80, 90, 100),
  test.keepX_protein = c(50, 60, 70, 80, 90, 100)
)

Arguments

multiassay

Multiassay object generated by Omix

dependent

Continuous dependent variable for sparse partial least squares

ncomp

number of components

test.keepX_rna

numeric vector for the different number of variables to test from the transcriptomic dataset

test.keepX_protein

numeric vector for the different number of variables to test from proteomic dataset

Value

spls models for processed transcriptomics and proteomics