Calculate weight with cross-subject variance for each cell types
Weight_cal(p, M.S, Sigma)
vector, cell type proportions
vector of average library size for each cell type
gene by cell type matrix. Each entry is the cross-subject variance.
vector of weight