getTraitClusterMedoids: getTraitClusterMedoids gets Medoids of earlier produced...

View source: R/reduceTrait.R

getTraitClusterMedoidsR Documentation

getTraitClusterMedoids gets Medoids of earlier produced clusters; select trait with lowest (square) sum of distances as cluster medoid

Description

getTraitClusterMedoids gets Medoids of earlier produced clusters; select trait with lowest (square) sum of distances as cluster medoid

Usage

getTraitClusterMedoids(clustResTraits, distMatTraits, numClusters)

Arguments

clustResTraits

(reduced) clustering results of traits

distMatTraits

(reduced) distance matrix of traits

numClusters

number of clusters to produce

Value

list with cluster medoids examples getTraitClusterMedoids(clustResTraits, distMatTraits, numClusters)


SteRoe/PatternMatchR documentation built on July 1, 2024, 10:09 p.m.