Multivariate sparse partial least squares
multivariate_spls.Rd
The function trains multivariate spls for all isoform transcripts jointly
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