Sim.data: Four Simulation type data based on one tree

Description Usage Arguments Format Author(s) Examples

Description

When given one tree, we can simulation count data with this structure, here is one sample case for you to do some test for the function on LRTT.

Usage

1

Arguments

tree

one tree sturucture with phylo class

BIT

Binominal Tree Distribution

DTM

Dirichlet Multinomial Tree Distribution

LNM

Logistical Normal Multinomial Distribution

ANOCM

Each OTU follow Poission Distribution

dif.otu

Differntial OTU on the leaves

dif.taxa

Differential internal nodes

prob.branch

probability along the branch which corrseponds to the tree edges

group

the subject group lable

Format

The format is: chr "Sim.data"

Author(s)

Chao ZHOU

Examples

1
2
3
4
5
6
7
8
data(Sim.data)
tree <- Sim.data$tree
data.bit <- Sim.data$BIT
p <- dim(BIT)[2]

##
taxa <- Taxa.index(p, tree)
taxa.count <- taxa%*%data.bit

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