Skip to contents

Fit a gene regulatory network using Ridge regression. Returns a coefficient matrix where entry (i,j) represents the regulatory effect of gene i on gene j.

Usage

fit_grn_coef_matrix(gem, TFdict, alpha = 1, verbose = TRUE)

Arguments

gem

Gene expression matrix (cells x genes)

TFdict

Named list mapping target genes to regulator TFs

alpha

Regularization strength for Ridge regression

verbose

Print progress

Value

Coefficient matrix (genes x genes)