public class ConsensusSpectrum<A extends LibPeakAnnotation> extends Spectrum<A>
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsensusSpectrum.Builder |
PeakList.Precision| Modifier and Type | Field and Description |
|---|---|
protected Set<UUID> |
memberIds |
protected String |
name |
protected double |
precursorMzMean |
protected double |
precursorMzStdev |
protected double |
simScoreMean |
protected double |
simScoreStdev |
| Constructor and Description |
|---|
ConsensusSpectrum(ConsensusSpectrum<A> consensusSpectrum,
PeakProcessor<A,A> peakProcessor) |
ConsensusSpectrum(ConsensusSpectrum<A> consensusSpectrum,
PeakProcessorChain<A> peakProcessorChain) |
ConsensusSpectrum(int initialCapacity,
PeakList.Precision precision,
Set<UUID> memberIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMemberIds(Collection<UUID> memberIds) |
ConsensusSpectrum<A> |
copy(PeakProcessor<A,A> peakProcessor)
Return PeakList copy processed with PeakProcessor
|
ConsensusSpectrum<A> |
copy(PeakProcessorChain<A> peakProcessorChain)
Return PeakList copy processed with PeakProcessorChain
|
boolean |
equals(Object o) |
Set<UUID> |
getMemberIds() |
String |
getName() |
double |
getPrecursorMzMean() |
double |
getPrecursorMzStdev() |
double |
getSimScoreMean() |
double |
getSimScoreStdev() |
int |
hashCode() |
int |
nrOfMembers() |
void |
setName(String name) |
ConsensusSpectrum |
setPrecursorStats(double precursorMean,
double precursorStdev) |
ConsensusSpectrum |
setScoreStats(double simScoreMean,
double simScoreStdev) |
add, add, add, addAnnotation, addAnnotations, addPeaks, addPeaks, addPeaksNoAnnotations, addSorted, addSorted, apply, apply, calcVectorLength, clear, clearAnnotations, clearAnnotationsAt, cursor, ensureCapacity, getAnnotationIndexes, getAnnotations, getBasePeakIntensity, getBasePeakMz, getClosestIndex, getFirstAnnotation, getId, getIntensities, getIntensities, getIntensities, getIntensity, getMostIntenseIndex, getMostIntenseIndex, getMsLevel, getMz, getMzs, getMzs, getMzs, getPrecision, getPrecursor, getTotalIonCurrent, hasAnnotations, hasAnnotationsAt, indexOf, indexOf, isEmpty, removeAnnotation, setId, setIntensityAt, setMsLevel, setPrecursor, size, sortAnnotations, trimToSizeprotected String name
protected double simScoreMean
protected double simScoreStdev
protected double precursorMzMean
protected double precursorMzStdev
public ConsensusSpectrum(int initialCapacity,
PeakList.Precision precision,
Set<UUID> memberIds)
public ConsensusSpectrum(ConsensusSpectrum<A> consensusSpectrum, PeakProcessor<A,A> peakProcessor)
public ConsensusSpectrum(ConsensusSpectrum<A> consensusSpectrum, PeakProcessorChain<A> peakProcessorChain)
public void addMemberIds(Collection<UUID> memberIds)
public int nrOfMembers()
public void setName(String name)
public String getName()
public ConsensusSpectrum setScoreStats(double simScoreMean, double simScoreStdev)
public ConsensusSpectrum setPrecursorStats(double precursorMean, double precursorStdev)
public double getSimScoreMean()
public double getSimScoreStdev()
public double getPrecursorMzMean()
public double getPrecursorMzStdev()
public ConsensusSpectrum<A> copy(PeakProcessor<A,A> peakProcessor)
PeakListpeakProcessor - the processor to process the peakspublic ConsensusSpectrum<A> copy(PeakProcessorChain<A> peakProcessorChain)
PeakListpeakProcessorChain - the processor chain to process the peakspublic boolean equals(Object o)
equals in class Spectrum<A extends LibPeakAnnotation>public int hashCode()
hashCode in class Spectrum<A extends LibPeakAnnotation>Copyright © 2016. All Rights Reserved.