clust: Clustering for MS peaks based on mz or RT.

Description Usage Arguments Value Author(s)

View source: R/internalProcessing.R

Description

Clustering for MS peaks based on mz or RT.

Usage

1
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>


LipidMS documentation built on July 7, 2021, 9:07 a.m.