pcoa2df: Convert PCoA object to a tidy dataframe

View source: R/multivar.R

pcoa2dfR Documentation

Convert PCoA object to a tidy dataframe

Description

Convert PCoA object to a tidy dataframe

Usage

pcoa2df(pcoa, k = 3)

Arguments

pcoa

A pcoa object generated by cmdscale

k

The number of PCs to keep

Value

A data.frame of PCoA points for the top k PCs


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