Skip to contents

M= num. of features and n= num. of indv

Usage

mmutil_simulate_poisson(
  mu,
  rho,
  output,
  r_indv = NULL,
  rseed = 42L,
  MAX_COL_WORD = 100L,
  COL_WORD_SEP = "@"
)

Arguments

mu

depth-adjusted mean matrix (M x n)

rho

column depth vector (N x 1), N= num. of cells

output

header for $output.mtx.gz,cols.gz,indv.gz

r_indv

N x 1 individual membership (1-based, 1 .. n)

rseed

random seed

Value

a list of file names: output.mtx,rows,cols.gz