mat_dist: Calculate distance for otutab

View source: R/b_analyse.R

mat_distR 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)

pctax documentation built on May 29, 2024, 10:03 a.m.