nbinom.Simdata: Generate negatibe binomial (NB) data

View source: R/datasimNB.R

nbinom.SimdataR Documentation

Generate negatibe binomial (NB) data

Description

Generatedata matrix (nxp) under NB assumption based on Karlis (or LPGM. 2013) with adjancency matrix B.

Usage

nbinom.Simdata(n, p, B, mu, mu.nois, theta)

Arguments

n

number of samples

p

number of variables (nodes)

B

adjacency matrix

mu

mean of negative binomial

mu.nois

mean of noise

theta

dispersion parameter of negative binomial, where var=\mu+\mu^2/theta


drisso/learn2count documentation built on July 15, 2024, 11:13 p.m.