DTM.Simulation: Dirichlet multinomial tree distribution simulation

Description Usage Arguments Details Value Author(s) See Also

Description

Function to do simulation with dirichlet multinomial tree distribution based on the tree structure.

Usage

1
DTM.Sim(p, seed = 1, N, tree, pi1, pi2, theta = 0.1)

Arguments

p

OTU numbers

seed

random seeds

N

sample size

tree

tree structure with phylo types

pi1, pi2

the parameters of each branch along the tree which both is one vector with length of the branches

theta

dispersion parameter

Details

Like BIT.Sim()

Value

Return one count matrix of the OTU and internal nodes.

Author(s)

Chao ZHOU

See Also

BIT.Sim


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