Deconvolution using pre-normalized count matrix and pre-calculated basis matrix.

deconv_simple(
  count.filter.norm,
  basis.norm,
  iter.max = 2000,
  nu = 1e-10,
  epsilon = 0.001,
  truep = NULL
)

Arguments

count.filter.norm

Normalized count matrix for bulk samples. Genes by samples.

basis.norm

Basis matrix calculated from single cell samples. Genes by cell-types.

iter.max

the maximum number of iteration in WNNLS

nu

a small constant to facilitate the calculation of variance

epsilon

a small constant number used for convergence criteria

truep

true cell-type proportions for bulk samples if known

Value

Estimated proportion-prop.est.mvw for bulk samples