pcoa:
Principal Coordinate Analyses
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
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