sim_counts: Simulate count data from various theoretical distributions

Description Usage Arguments Note

View source: R/sim_community.R

Description

Simulate count data from various theoretical distributions

Usage

1
2
sim_counts(n = 1, mu, Sigma = NULL, method = "ZINB", negscheme = exp,
  targetneff, ...)

Arguments

n

-> number of samples

mu

-> vector of 'OTU' means across samples

Sigma

-> positive definite matrix, one will be generated if not provided

negscheme

-> function to deal with negative values (for method MVLN data)

Note

required: length(mu) == nrow(Sigma) == ncol(Sigma)


zdk123/codmeR documentation built on May 4, 2019, 10:14 p.m.