Use the graphical lasso to estimate a sparse co-expression matrix huge package

build_coexp_direct_network(
  estimated_expression,
  genes,
  nlambda = 30,
  verbose = FALSE
)

Arguments

estimated_expression

data.frame with columns gene_id run_accession

genes

vector of gene labels

verbose

verbose output (default: FALSE)

Value

result of huge::huge.select In particular .$merge[<nlambda>] is a n_gene by n_gene co-expression matrix