music.iter.ct: Scaling bulk data and signature matrix and estimate cell type...

Description Usage Arguments Value

View source: R/analysis.R

Description

Scaling bulk data and signature matrix and estimate cell type proportion

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
music.iter.ct(
  Y,
  D,
  S,
  Sigma.ct,
  iter.max = 1000,
  nu = 1e-04,
  eps = 0.01,
  centered = FALSE,
  normalize = FALSE
)

Arguments

Y

vector of bulk tissue expression

S

vector of Avg. Library size

Sigma.ct

matrix of Subject level variation with cross-cell-type covariance.

iter.max

numeric, maximum iteration number. Default is 1000

nu

regulation parameter, take care of weight when taking recipical by default nu = 0.0001.

eps

Thredshold of convergence. Default is 0.01.

centered

logic, substract avg of Y and D. Default is FALSE.

normalize

logic, divide Y and D by their standard deviation. Default is FALSE

X

matrix, Signature matrix

Value

a list same as nnls.weight.basic


kalpita23/scRNA_package documentation built on June 26, 2020, 12:15 a.m.