cv.multiFSSEMiPALM2: cv.multiFSSEMiPALM2

View source: R/fssem.R

cv.multiFSSEMiPALM2R Documentation

cv.multiFSSEMiPALM2

Description

cv.multiFSSEMiPALM2

Usage

cv.multiFSSEMiPALM2(
  Xs,
  Ys,
  Bs,
  Fs,
  Sk,
  sigma2,
  nlambda = 20,
  nrho = 20,
  nfold = 5,
  p,
  q,
  wt = TRUE,
  plot = FALSE
)

Arguments

Xs

eQTL matrices

Ys

Gene expression matrices

Bs

initialized GRN-matrices

Fs

initialized eQTL effect matrices

Sk

eQTL index of genes

sigma2

initialized noise variance

nlambda

number of hyper-parameter of lasso term in CV

nrho

number of hyper-parameter of fused-lasso term in CV

nfold

CVfold number. Default 5/10

p

number of genes

q

number of eQTLs

wt

use adaptive lasso or not. Default TRUE.

plot

plot contour of cvmean or not. Default FALSE.

Value

list of cross-validation result


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