calc_PCoA: Wrapper for cmdscale

View source: R/multivar.R

calc_PCoAR Documentation

Wrapper for cmdscale

Description

Simple wrapper for cmdscale to provide data.frame formatted table. If the distance matrices contain NAs, the samples containing NAs will be removed (with a warning).

Usage

calc_PCoA(dist_mtx, k = 2)

Arguments

dist_mtx

distance matrix object

Value

data.frame


leylabmpi/LeyLabRMisc documentation built on Nov. 3, 2022, 3:45 p.m.