Skip to contents

Clustering the rows of a count data matrix

Usage

fit_poisson_cluster_rows(
  X,
  Ltrunc,
  alpha = 1,
  a0 = 0.01,
  b0 = 1e-04,
  rseed = 42L,
  mcmc = 100L,
  burnin = 10L,
  verbose = TRUE
)

Arguments

X

data matrix

Ltrunc

DPM truncation level

alpha

DPM parameter

a0

prior ~ Gamma(a0, b0) (default: 1e-2)

b0

prior ~ Gamma(a0, b0) (default: 1e-4)

rseed

random seed (default: 42)

mcmc

number of MCMC iterations (default: 100)

burnin

number iterations to discard (default: 10)

verbose

verbosity