pcoa: Principal Coordinate Analyses

Description Usage Arguments Author(s)

View source: R/pcoa.R

Description

This function uses ade4's dudi.pco and s.class to obtain a PCoA and represent its results in a 2-D figure. It also saves a .csv file with the coordinates for all individuals and another .csv file with the eigenvalues for all axis.

Usage

1
pcoa(DM, groups, inds, name, surname)

Arguments

DM

A Euclidean Distance Matrix

groups

A factor with the label for the group for every sample (row) in 'dataM'

inds

Label list for individuals in 'dataM'

name

Prefix for filename and title

surname

"MNL" or "MSL"

Author(s)

Andres Perez-Figueroa ([email protected])


msap documentation built on May 2, 2019, 6:52 p.m.