public class PeptideConsensusPeakSink extends Object implements PeakSink<PepLibPeakAnnotation>
| Constructor and Description |
|---|
PeptideConsensusPeakSink(PeptideConsensusSpectrum consensus,
double peakFraction,
int minPeakCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
end()
Called after a PeakList is processed
|
void |
processPeak(double mz,
double intensity,
List<PepLibPeakAnnotation> annotations)
Process the peak
|
void |
start(int size)
Called before a new PeakList is processed.
|
public PeptideConsensusPeakSink(PeptideConsensusSpectrum consensus, double peakFraction, int minPeakCount)
public void start(int size)
PeakSinkstart in interface PeakSink<PepLibPeakAnnotation>size - the number of peaks that will be processed.public void processPeak(double mz,
double intensity,
List<PepLibPeakAnnotation> annotations)
PeakSinkprocessPeak in interface PeakSink<PepLibPeakAnnotation>mz - the peak's m/zintensity - the peak's intensityannotations - the peak's annotationspublic void end()
PeakSinkend in interface PeakSink<PepLibPeakAnnotation>Copyright © 2016. All Rights Reserved.