simotu.diri40: Simulation data with Gaussian distribution

Description Usage Arguments Value Examples

View source: R/simotu.diri40.R

Description

Generate simulation data with Dirichlet distribution

Usage

1
2
3
4
5
6
7
8
9
simotu.diri40(
  n,
  p = 693,
  t = 3,
  ref = c(1, 214, 490, 512, 513),
  seed = F,
  unif.min = 0,
  unif.max = 0.35
)

Arguments

n,

sample size for each target

p,

number of OTUs

t,

number of targets

ref,

index of reference OTUs

seed,

index of the seed, if F (default) no seed is set

unif.min,

min limit of Uniform dist for non-zero probability

unif.max,

max limit of Uniform dist for non-zero probability

Value

a list of OTU table and meta information

Examples

1
simotu.diri40(36,p=693,t=3,ref=c(1,214,490,512,513),seed=1234,unif.min=0.9,unif.max=0.95)

yewei369/clotu documentation built on Dec. 23, 2021, 7:19 p.m.