music.iter: 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(
  Y,
  D,
  S,
  Sigma,
  iter.max = 1000,
  nu = 1e-04,
  eps = 0.01,
  centered = FALSE,
  normalize = FALSE
)

Arguments

Y

vector of bulk tissue expression

D

matrix, Signature matrix

S

vector of Avg. Library size

Sigma

matrix of subject level variation (gene * cell type)

iter.max

numeric, maximum iteration number

nu

regulation parameter, when take recipical

eps

thredshold of converagence

centered

logic, substract avg of Y and D

normalize

logic, divide Y and D by their standard deviation

Value

a list same as nnls.weight.basic


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