public abstract class AbstractConsensusSpectrumBuilder<A extends LibPeakAnnotation,B extends AbstractConsensusSpectrumBuilder<A,B,C>,C extends ConsensusSpectrum<A>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected double |
fragMzTolerance |
protected int |
initialCapacity |
protected AbstractMergePeakFilter.IntensityMode |
intCombMeth |
protected double |
maxMzClusterWidth |
protected int |
minPeakCount |
protected int |
msLevel |
protected double |
peakFraction |
protected List<PeakList<PeakAnnotation>> |
spectra |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConsensusSpectrumBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract C |
build() |
protected abstract void |
calculatePrecursor(ConsensusSpectrum<? extends LibPeakAnnotation> consensus) |
B |
fragMzTolerance(double fragMzTolerance) |
B |
initialCapacity(int initialCapacity) |
B |
intensityCombMethod(AbstractMergePeakFilter.IntensityMode intCombMethod) |
B |
maxMzClusterWidth(double maxMzClusterWidth) |
B |
msLevel(int msLevel) |
B |
setPeakFilterParams(double peakFraction,
int minPeakCount) |
B |
spectra(Collection<? extends PeakList<PeakAnnotation>> spectra) |
protected final List<PeakList<PeakAnnotation>> spectra
protected double peakFraction
protected int minPeakCount
protected double fragMzTolerance
protected double maxMzClusterWidth
protected AbstractMergePeakFilter.IntensityMode intCombMeth
protected int initialCapacity
protected int msLevel
public B spectra(Collection<? extends PeakList<PeakAnnotation>> spectra)
public B initialCapacity(int initialCapacity)
public B fragMzTolerance(double fragMzTolerance)
public B intensityCombMethod(AbstractMergePeakFilter.IntensityMode intCombMethod)
public B maxMzClusterWidth(double maxMzClusterWidth)
public B setPeakFilterParams(double peakFraction, int minPeakCount)
public B msLevel(int msLevel)
protected abstract void calculatePrecursor(ConsensusSpectrum<? extends LibPeakAnnotation> consensus)
public abstract C build()
Copyright © 2016. All Rights Reserved.