simotu.gaus: Simulation data with Gaussian distribution

Description Usage Arguments Value Examples

View source: R/simotu.gaus.R

Description

Generate simulation data with Gaussian distribution

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
simotu.gaus(
  n,
  p,
  t,
  nref = 3,
  unif.min = 0,
  unif.max = 0.35,
  full.mean = 20000,
  full.sd = 500,
  seed = F
)

Arguments

n,

sample size for each target

p,

number of OTUs

t,

number of targets

nref,

number of reference OTUs

unif.min,

min limit of Uniform dist for non-zero probability

unif.max,

max limit of Uniform dist for non-zero probability

full.mean,

full range of mean value of total counts

full.sd,

full range of standard deviation of total counts

seed,

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

Value

a list of OTU table and meta information

Examples

1
simotu.gaus(50,700,3,nref=5,full.mean=10000,unif.min=0,unif.max=0.4,seed=1234)

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