phy_BranchAL_Inc: R code for phylo to Chaophyabu function, we defind...

Description Usage Arguments Value Examples

View source: R/phyBranchALinc.r

Description

R code for phylo to Chaophyabu function, we defind chaophytree objects

Usage

1
2
phy_BranchAL_Inc(phylo, data, datatype = "incidence_raw", refT = 0,
  rootExtend = T, remove0 = T)

Arguments

phylo

a phylo object

data

a vector with names

Value

a Chaophyabu objects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(phybird.new)
bird.abu <- phybird.new$abun
bird.inc <- phybird.new$inci
bird.lab <- rownames(phybird.new$abun)
bird.phy <- phybird.new$chaophytree
tree<-tidytree::as.phylo(bird.phy$phytree)
Idata<-bird.inc$North.site
refTs<-c(80,90,100)
result<-phy_BranchAL_Inc(tree,Idata,datatype="incidence_raw",refTs)
result$treeNabu
result$treeH
result$BLbyT

chaolab2019/chaoUtility documentation built on Feb. 26, 2020, 2:48 p.m.