MakeUnifracData: Calculates the generalized UniFrac distances for an...

Description Usage Arguments Value

Description

This involves a random rooting of the tree and rarefaction, which are non-deterministic. For reproducibility, recommend calling set.seed before this

Usage

1
MakeUnifracData(agg, s, tree, rarefy.depth, alpha = 0.5)

Arguments

agg

agglomerated dataframe

s

sample metadata dataframe

tree

a tree (will root using random node)

alpha

the alpha parameter for GUniFrac

Value

the generalized UniFrac distance matrix for the given alpha


eclarke/eclectic documentation built on May 15, 2019, 7:54 p.m.