initMSSC2GenewiseParams: Initialize MSSC2 Genewise parameters, which is further used...

Description Usage Arguments Value

View source: R/mssc2.R

Description

Call fitGenewiseNBModel to initialize the parameters.

Usage

1
initMSSC2GenewiseParams(mssc2, cnt, s, cond, ind)

Arguments

mssc2

MSSC2 object

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.

Value

MSSC2 object


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