multiRegression: multiRegression

Description Usage Arguments Value

View source: R/solver.R

Description

Ridge regression on multiple conditions

Usage

1
multiRegression(Xs, Ys, Sk, gamma, n, p, k, trans = FALSE)

Arguments

Xs

eQTL matrices. eQTL matrix can be matrix/list of multiple conditions

Ys

Gene expression matrices

Sk

eQTL index of genes

gamma

Hyperparameter for ridge regression

n

number of observations

p

number of genes

k

number of eQTLs

trans

if rows for sample, trans = TRUE, otherwise, trans = FALSE. Default FALSE

Value

fit List of SEM model

Bs

coefficient matrices of gene regulatory networks

fs

eQTL's coefficients w.r.t each gene

Fs

coefficient matrices of eQTL-gene effect

mu

Bias vector

sigma2

estimate of covariance in SEM


Ivis4ml/SparseSEMs documentation built on May 23, 2019, 2:43 p.m.