Draw counts from signal or noise based on logical matrix 'mat'

draw_counts(size_sig, size_bg, mu_sig, mu_bg, mat, seed = NULL)

Arguments

size_sig

size parameter signal

size_bg

size parameter background

mu_sig

mu signal

mu_bg

mu noise

mat

logical matrix

seed

random seed

Value

counts matrix