ANCOM.Simulation: ANCOM simulation

Description Usage Arguments Details Value Author(s) References Examples

Description

Simulation data for ANCOM situation

Usage

1
ANCOM.Sim(p, seed, N, dif)

Arguments

p

OTU numbers

seed

random seeds

N

sample size

dif

the differential OTU you can set

Details

The simulation here is the same from ANCOM papers which set each OTU distributed from Poission distribution.

Value

Return one 2N*p matrix

Author(s)

Chao ZHOU

References

Mandal, Siddhartha, et al. "Analysis of composition of microbiomes: a novel method for studying microbial composition." Microbial ecology in health and disease 26.1 (2015): 27663.

Examples

1
2
data <- ANCOM.Sim(p = 50, N = 50, dif = c(1:10))
dim(data)

ZRChao/LRTT documentation built on May 17, 2019, 6:36 p.m.