# NOT RUN {
data("tda")
comm=tda$comm
tree=tda$tree
# since it needs to save some file to a certain folder,
# the following code is set as 'not test'.
# but you may test the code on your computer
# after change the folder path for 'save.wd'.
# }
# NOT RUN {
save.wd=tempdir() # please change to the folder you want to use.
nworker=2 # parallel computing thread number
pd.big=iCAMP::pdist.big(tree = tree,wd = save.wd, nworker = nworker)
bmntd.wt=bmntd.big(comm=comm, pd.desc = pd.big$pd.file,
pd.spname = pd.big$tip.label, pd.wd = pd.big$pd.wd,
abundance.weighted = TRUE)
# }
Run the code above in your browser using DataLab