Description Usage Arguments Details Value Author(s) See Also
Function to do simulation with multinomial distribution based on the tree structure.
1 | BIT.Sim(p, seed = 2, N, tree, prob1, prob2)
|
p |
OTU numbers |
seed |
random seeds |
N |
sample size |
tree |
tree structure with phylo types |
prob1, prob2 |
the probability of each branch along the tree which both is one vector with length of the branches |
You can random set the probability of the branches, finally use function Prob.mult() to see which OTU on the leafs is differential one.
Return one count matrix of the OTU and internal nodes.
Chao ZHOU
Prob.mult
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.