Skip to contents

The function trains multivariate spls for all isoform transcripts jointly

Usage

multivariate_spls(
  X,
  Y,
  nfolds = 5,
  verbose = T,
  tx_names = NULL,
  par,
  n.cores,
  seed
)

Arguments

X

matrix, design matrix of SNP dosages

Y

matrix, matrix of G isoform expression across columns

nfolds

int, number of CV folds

verbose

logical

tx_names

vector, character vector of tx names in order of columns of Y

par

logical, uses mclapply to parallelize model fit

n.cores

int, number of parallel cores

seed

int, random seed

Value

spls models