Interface SpectraComparisonOptions

interface SpectraComparisonOptions {
    groupWidth?: number;
    heightFilter?: number;
    intPower?: number;
    massPower?: number;
    maxNumberPeaks?: number;
    similarityThreshold?: number;
    thresholdFactor?: number;
}

Properties

groupWidth?: number

When find a max can't be another max in a radius of this size.

Default

0

heightFilter?: number

Filter all objects that are below heightFilter times the median of the height. @default: 2

intPower?: number

Power applied to the abundance values.

Default

0.6

massPower?: number

Power applied to the mass values.

Default

3

maxNumberPeaks?: number

Maximum number of peaks for each mass spectrum (when it is Number.MAX_VALUE, there's no filter).

Default

Number.MAX_VALUE

similarityThreshold?: number

Minimum similarity value to consider them similar.

Default

0.7

thresholdFactor?: number

Every peak that is below the main peak times this factor fill be removed (when it is 0, there's no filter).

Default

0