prey.cluster: This function performs a hierarchical cluster analysis of...

Description Usage Arguments Value

Description

This function performs a hierarchical cluster analysis of prey fatty acid signatures using a matrix of dissimilarities for the n objects being clustered. Initially, each object is assigned as its own cluster and then the algorithm proceeds iteratively, at each stage joining the two most similar clusters, until there is just a single cluster.

Usage

1
prey.cluster(prey.fa, method, FUN)

Arguments

prey.fa

data frame of prey fatty acid signature samples. Species column is used to group samples. Other columns are assumed to be fatty acid proportions.

method

the agglomeration method to be used. This should be one of 'single', 'complete', 'average', 'median', 'centroid'.

FUN

distance function

Value

an object of class hclust which describes the tree produced by the clustering process.


QFASA documentation built on June 15, 2019, 1:03 a.m.