toStanInput: Convert input data to the format of Stan Input.

Description Usage Arguments

View source: R/mssc2.R

Description

Convert input data to the format of Stan Input.

Usage

1
toStanInput(cnt, ind, cond, s, hp)

Arguments

cnt

matrix, count matrix size of ngene by ncell

ind

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

cond

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

s

normalizing/scaling factor, length of ncell.

hp

list of 4 elements.


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