Description Usage Arguments Value Examples
View source: R/phyExpandData.r
phyExpandData
: Expand branch abundance/incience and branch length
1 | phyExpandData(x, labels, phy, datatype = "abundance")
|
x |
a vector/matrix/list of species abundances or a matrix of raw incidence table. |
labels |
a vector of species name for input data. |
phy |
a phylogenetic tree with |
datatype |
data type of input data: individual-based abundance data ( |
a tibble tree with abundances.
1 2 3 4 5 6 7 | data(phybird.new)
bird.abu <- phybird.new$abun
bird.inc <- phybird.new$inci
bird.lab <- rownames(phybird.new$abun)
bird.phy <- phybird.new$chaophytree
phyExpandData(bird.abu, labels=bird.lab, phy=bird.phy, datatype="abundance")
phyExpandData(bird.inc, labels=bird.lab, phy=bird.phy, datatype="incidence_raw")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.