simulateData: OTU counts simulation

Description Usage Arguments Value Author(s) References Examples

Description

We used a phylogenetic tree of OTUs from a real throat microbiome data set, which consists of 856 OTUs after discarding singleton OTUs. Then based on a complicate statistical meodel, we generated the OTU counts for each individual to simulate the feature of real microbiome data.

Usage

1
simulateData(nSam=100, s=12, ncluster = 20, mu = 1000, size = 25) 

Arguments

nSam

Sample size, the default value is 100.

s

The indicator of informative cluster.

ncluster

Positive integer specifying the number of clusters of they phylogenetic tree.

mu

The mean of the negative binomial distribution.

size

The size of the negative binomial distribution

Value

A list object, including the informative OTU counts table and whole OTU counts table.

Author(s)

Chong Wu

References

Chong, W., Pan, W. (2015) An Adaptive Association Test for Microbiome Data, submitted.

Examples

1
2
OTU = simulateData()
OTU

ChongWu-Biostat/MiSPU documentation built on May 6, 2019, 11:18 a.m.