clust {LipidMS} | R Documentation |
Clustering for MS peaks based on mz or RT.
Description
Clustering for MS peaks based on mz or RT.
Usage
clust(values, mins, maxs, samples, unique.samples, maxdist, ppm)
Arguments
values |
values to clusterize (mz or RT). |
mins |
lower bound for each value. |
maxs |
higher bound for each value. |
samples |
numeric vector that indicates to which sample each value belongs. |
unique.samples |
logical. FALSE if several measures from the same sample can be clusterized together. |
maxdist |
maximum distance allowed within a cluster. |
ppm |
logical. TRUE if maxdist is given in ppm. |
Value
numeric vector with the assigned clusters
Author(s)
M Isabel Alcoriza-Balaguer <maialba@iislafe.es>
[Package LipidMS version 3.0.5 Index]