unifrac2: unifrac

Description Usage Arguments Value

View source: R/pd.R

Description

calculate unifrac of pairwise site. This is based on picante::unifrac, but with phylocomr::ph_pd to calculate pd, which can improve speed dramatically.

Usage

1
unifrac2(comm, tree, comm_long)

Arguments

comm

a site by sp data frame, row names are site names

tree

a phylogeny with 'phylo' class

comm_long

a long format of comm, can be missing

Value

a site by site distance object


daijiang/dli55 documentation built on Jan. 28, 2018, 3:48 a.m.