dist_bycol: Compute paired distances among matrix (e.g. otu_table)

View source: R/miscellanous.R

dist_bycolR Documentation

Compute paired distances among matrix (e.g. otu_table)

Description

[Experimental]

Usage

dist_bycol(x, y, method = "bray", nperm = 99, ...)

Arguments

x

(required) A first matrix.

y

(required) A second matrix.

method

(default: 'bray') the method to use internally in the vegdist function.

nperm

(int) The number of permutations to perform.

...

Others argument for vegan::vegdist function

Value

A list of length two : (i) a vector of observed distance ($obs) and (ii) a matrix of the distance after randomization ($null)

Note

the first column of the first matrix is compare to the first column of the second matrix, the second column of the first matrix is compare to the second column of the second matrix and so on.

Author(s)

Adrien Taudière

See Also

vegdist


MiscMetabar documentation built on May 29, 2024, 10:39 a.m.