A number of clustering methods exist in CAMERA.
is the generic method.
Method to use for clustering. See details.
Optional arguments to be passed along
This algorithms cluster peaks from a xsAnnotate object into pseudospectra according to a provided distance matrix. Therefore all peaks are transformend into a graph, with peaks as nodes and the value from the distance matrix as edges. Afterwards a graph separation algorithm is applied, which searches in the graph for clusters. See the manpages of the specific clustering algorithms for more information.
If the xsAnnotate is pregrouped, for example groupFWHM, only the already existing groups will be further processed.
The different algorithms that can be used by specifying them with the
method argument. For example to use the highly connected
subgraphs approach by E. Hartuv, R. Shamir, (1999), one would use:
calcPC(object, method="hcs"). This is also
the default, see
Further arguments given by
passed through to the function implementing
method, which are most likely ajc.
The parameter ajc is the peak distance matrix.
a character vector of nicknames for the
The function returns a xsAnnotate object with grouping information, as list of peak indices. They are stored as object@pspectra.