hclust.grouping: Grouping with hierarchical clustering (used in the...

View source: R/hclust.grouping.R

hclust.groupingR Documentation

Grouping with hierarchical clustering (used in the PeakGrouper function)

Description

Internal function in the PeakGrouper function for generating the hierarchical clustering tree and cutting it.

Usage

hclust.grouping(
  current.peaks,
  min.samp.grp = 1,
  max.dupli.prop = 0.25,
  maxClust = 10,
  linkage = "average"
)

Arguments

current.peaks

A number of neighbouring peaks to be grouped.

min.samp.grp

The minimal amount of samples needed to form a group.

max.dupli.prop

The maximal duplication proportion allowed for a group to be considered a single group.

maxClust

The maximum number of clusters (depth of the tree).

linkage

The linkage to be used in the hierarchical clustering. See the 'method' argument in hclust.

Value

Returns a data frame with grouped peaks.

Author(s)

Charlie Beirnaert, charlie.beirnaert@uantwerpen.be

See Also

PeakGrouper


speaq documentation built on May 23, 2022, 5:06 p.m.