compute_omega: Compute precision matrix between isoforms

View source: R/compute_omega.R

compute_omegaR Documentation

Compute precision matrix between isoforms

Description

The function computes the covariance and precision matrix between columns of the isoform matrix

Usage

compute_omega(
  Y,
  Y.rep,
  R,
  id,
  method = c("replicates", "mean"),
  nlambda = 15,
  verbose = F
)

Arguments

Y

matrix, matrix of G mean isoform expression across columns

Y.rep

matrix, matrix of G isoform expression with replicates

R

int, number of replicates

id

vector, vector of sample ids showing rep to id

method

character, use Y.rep or Y

nlambda

int, number of matrices to produce in terms of sparsity

verbose

logical

Value

covariance and/or precision matrix list in huge form


bhattacharya-a-bt/isoTWAS documentation built on Jan. 9, 2025, 10:25 p.m.