weight.cal.ct: Calculate weight with cross cell type covariance

View source: R/analysis.R

weight.cal.ctR Documentation

Calculate weight with cross cell type covariance

Description

Calculate weight with cross cell type covariance

Usage

weight.cal.ct(Sp, Sigma.ct)

Arguments

Sp

vector, library size of each cell type

Sigma.ct

matrix, cell type^2 by genes. Each columns store the cross cell-type covariance matrix of a gene.

Value

vector of weight


xuranw/MuSiC documentation built on March 7, 2024, 11:45 a.m.