R/analysis.R
music.iter.ct.Rd
Scaling bulk data and signature matrix and estimate cell type proportion
music.iter.ct(
Y,
D,
S,
Sigma.ct,
iter.max = 1000,
nu = 1e-04,
eps = 0.01,
centered = FALSE,
normalize = FALSE
)
vector of bulk tissue expression
vector of Avg. Library size
matrix of Subject level variation with cross-cell-type covariance.
numeric, maximum iteration number. Default is 1000
regulation parameter, take care of weight when taking recipical by default nu = 0.0001.
Threshold of convergence. Default is 0.01.
logic, subtract avg of Y and D. Default is FALSE.
logic, divide Y and D by their standard deviation. Default is FALSE
matrix, Signature matrix
a list same as nnls.weight.basic