pcoa: Principal Coordinate Analyses

Description Usage Arguments Author(s)

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 (anpefi@uvigo.es)


msap documentation built on May 2, 2019, 9:58 a.m.