Breiman and Friedman's curds and whey multivariate regression with CV
compute_curds_whey.Rd
The function trains the curds and whey multivariate regression with cross-validated results
Usage
compute_curds_whey(
X,
Y,
family = "gaussian",
alpha = 0.5,
nfolds = 5,
verbose,
par = F,
n.cores = NULL,
tx_names = NULL,
seed
)
Arguments
- X
matrix, design matrix of SNP dosages
- Y
matrix, matrix of G isoform expression across columns
- family
character, glmnet glm family
- alpha
numeric, elastic net mixing parameter
- nfolds
int, number of CV folds
- verbose
logical
- par
logical, uses mclapply to parallelize model fit
- n.cores
int, number of parallel cores
- tx_names
vector, character vector of tx names - order of columns of Y
- seed
int, random seed