mat_dist {pctax}R Documentation

Calculate distance for otutab

Description

Calculate distance for otutab

Usage

mat_dist(otutab, method = "bray", spe_nwk = NULL)

Arguments

otutab

an otutab data.frame, samples are columns, taxs are rows.

method

Dissimilarity index, partial match to "bray", "euclidean"...see vegdist;unifrac

spe_nwk

a phylo tree if use unifrac...

Value

dist

Examples

data(otutab, package = "pcutils")
mat_dist(otutab)

[Package pctax version 0.1.1 Index]