Calculate weight with cross cell type covariance

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