cv.multiRegression: cv.multiRegression

View source: R/solver.R

cv.multiRegressionR Documentation

cv.multiRegression

Description

cv.multiRegression

Usage

cv.multiRegression(Xs, Ys, Sk, ngamma = 20, nfold = 5, n, p, k)

Arguments

Xs

eQTL matrices

Ys

Gene expression matrices

Sk

eQTL index of genes

ngamma

number of hyper-parameter in CV

nfold

CVfold number. Default 5/10

n

number of observations

p

number of genes

k

number of eQTLs

Value

gamma_min optimal gamma to minimize cross-validation error


fssemR documentation built on March 18, 2022, 7:24 p.m.