fitGenewiseNBModel: A summary fit function for Genewise Negative Binomial Model...

Description Usage Arguments Value

View source: R/initParams.R

Description

A summary fit function for Genewise Negative Binomial Model NOTE previous name: fit_mgsnb

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
fitGenewiseNBModel(
  cnt,
  s,
  cond,
  ind,
  default_mu = 0,
  default_r = 20,
  min_var = 4,
  min_varofcond = 0.25,
  min_varofind = 0.25,
  min_tau2 = 0.25
)

Arguments

cnt

matrix, count matrix size of ngene by ncell

s

numeric vector, length of ncell, normalzing/scaling factor for cells

cond

integer vector, length of ncell, which cond the cell belongs to, start from 1.

ind

integer vector, length of ncell, which individuals cells belong to, start from 1.

default_mu

double, default is 0.0

default_r

double, default is 20.

min_var

double, default is 4.0

min_varofcond

double, default is 0.25

min_varofind

double, default is 0.25

min_tau2

double, default is 0.25

Value

list of four elements


beyondpie/mssc documentation built on Jan. 8, 2022, 1:30 p.m.