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 June 13, 2025, 9:29 a.m.