SCDC_prop_ONE: Proportion estimation function for one-subject case

Description Usage Arguments Value

Description

Proportion estimation function for one-subject case

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
SCDC_prop_ONE(
  bulk.eset,
  sc.eset,
  ct.varname,
  sample,
  truep = NULL,
  ct.sub,
  iter.max = 2000,
  nu = 1e-10,
  epsilon = 0.01,
  weight.basis = T,
  ...
)

Arguments

bulk.eset

ExpressionSet object for bulk samples

sc.eset

ExpressionSet object for single cell samples

ct.varname

variable name for 'cell types'

sample

variable name for subject/samples

truep

true cell-type proportions for bulk samples if known

ct.sub

a subset of cell types that are selected to construct basis matrix

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

Value

Estimated proportion, basis matrix, predicted gene expression levels for bulk samples


crhisto/SCDC documentation built on Dec. 19, 2021, 6:19 p.m.