Clustering for MS peaks based on mz or RT.
clust(values, mins, maxs, samples, unique.samples, maxdist, ppm)
numeric vector with the assigned clusters
values to clusterize (mz or RT).
lower bound for each value.
higher bound for each value.
numeric vector that indicates to which sample each value belongs.
logical. FALSE if several measures from the same sample can be clusterized together.
maximum distance allowed within a cluster.
logical. TRUE if maxdist is given in ppm.
M Isabel Alcoriza-Balaguer <maialba@iislafe.es>