source("beta_pd_decompo.r") tree=read.tree("tree_example") plot(tree) coms=read.csv("data_example.csv",h=T,row.names=1) coms decompo_beta=beta.pd.decompo(coms, tree,type="both",output.dist=F, random=F) decompo_beta