public class PeptideConsensusSpectrum extends ConsensusSpectrum<PepLibPeakAnnotation>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PeptideConsensusSpectrum.AnnotationParametersSetter |
static class |
PeptideConsensusSpectrum.Builder |
static class |
PeptideConsensusSpectrum.BuilderOld |
static interface |
PeptideConsensusSpectrum.ConsensusParametersSetter |
static interface |
PeptideConsensusSpectrum.FilterParametersSetter |
static class |
PeptideConsensusSpectrum.Status |
PeakList.PrecisionmemberIds, name, precursorMzMean, precursorMzStdev, simScoreMean, simScoreStdev| Modifier | Constructor and Description |
|---|---|
|
PeptideConsensusSpectrum(Peptide peptide)
Construct a LibrarySpectrum for the
peptide |
protected |
PeptideConsensusSpectrum(PeptideConsensusSpectrum src,
PeakProcessor<PepLibPeakAnnotation,PepLibPeakAnnotation> peakProcessor)
Copy constructor
|
protected |
PeptideConsensusSpectrum(PeptideConsensusSpectrum src,
PeakProcessorChain<PepLibPeakAnnotation> peakProcessorChain) |
|
PeptideConsensusSpectrum(Peptide peptide,
int initialCapacity,
PeakList.Precision precision)
Construct a Spectrum that has an initial capacity of
initialCapacity and a precision
of precision |
|
PeptideConsensusSpectrum(Peptide peptide,
int initialCapacity,
PeakList.Precision precision,
Set<UUID> memberIds)
Construct a Spectrum that has an initial capacity of
initialCapacity and a precision
of precision |
|
PeptideConsensusSpectrum(Peptide peptide,
PeakList.Precision precision)
Construct a Spectrum that has a precision of
precision |
|
PeptideConsensusSpectrum(Peptide peptide,
PeakList.Precision precision,
Set<UUID> memberIds)
Construct a Spectrum that has a precision of
precision |
|
PeptideConsensusSpectrum(Peptide peptide,
PeakList.Precision precision,
Set<UUID> memberIDs,
Set<String> proteinAccessionNumbers) |
|
PeptideConsensusSpectrum(Peptide peptide,
PeakList.Precision precision,
Set<UUID> memberIDs,
Set<String> proteinAccessionNumbers,
RetentionTimeDiscrete retentionTimeDiscrete) |
|
PeptideConsensusSpectrum(Peptide peptide,
Set<UUID> memberIds)
Construct a LibrarySpectrum for the
peptide |
| Modifier and Type | Method and Description |
|---|---|
void |
addProteinAccessionNumbers(Collection<String> accessionNumbers)
Add all the accession numbers from
accessionNumbers to the accession number list of this
LibrarySpectrum |
void |
addProteinAccessionNumbers(String... acc)
Add a protein accession number to the accession number list of this LibrarySpectrum
|
static PeptideConsensusSpectrum.BuilderOld |
builder() |
static PeptideConsensusSpectrum.ConsensusParametersSetter |
builder(PeakList.Precision precision,
URI spectrumSource) |
void |
clearProteinAccessionNumber()
Clear the accession number list //review should this class be mutable?
|
PeptideConsensusSpectrum |
copy(PeakProcessor<PepLibPeakAnnotation,PepLibPeakAnnotation> peakProcessor)
Return PeakList copy processed with PeakProcessor
|
PeptideConsensusSpectrum |
copy(PeakProcessorChain<PepLibPeakAnnotation> peakProcessorChain)
Return PeakList copy processed with PeakProcessorChain
|
boolean |
equals(Object o) |
String |
getComment()
Return the comment
|
Peptide |
getPeptide()
Return the peptide
|
Set<String> |
getProteinAccessionNumbers()
Return an unmodifiable list containing the protein accession numbers associated with the peptide
tha this LibrarySpectrum represents.
|
com.google.common.base.Optional<RetentionTimeDiscrete> |
getRetentionTime() |
URI |
getSpectrumSource() |
PeptideConsensusSpectrum.Status |
getStatus()
Returns this LibrarySpectrum's status.
|
int |
hashCode() |
void |
setComment(String comment)
Set the comment
|
void |
setPeptide(Peptide peptide) |
void |
setRetentionTime(com.google.common.base.Optional<RetentionTimeDiscrete> retentionTime) |
void |
setSpectrumSource(URI spectrumSource) |
void |
setStatus(PeptideConsensusSpectrum.Status status)
Set the status
|
String |
toString() |
addMemberIds, getMemberIds, getName, getPrecursorMzMean, getPrecursorMzStdev, getSimScoreMean, getSimScoreStdev, nrOfMembers, setName, setPrecursorStats, setScoreStatsadd, 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, trimToSizepublic PeptideConsensusSpectrum(Peptide peptide)
peptidepeptide - the peptidepublic PeptideConsensusSpectrum(Peptide peptide, Set<UUID> memberIds)
peptidepeptide - the peptidememberIds - UUIDs of member spectrapublic PeptideConsensusSpectrum(Peptide peptide, PeakList.Precision precision, Set<UUID> memberIds)
precisionpeptide - the peptideprecision - the precisionpublic PeptideConsensusSpectrum(Peptide peptide, PeakList.Precision precision)
precisionpeptide - the peptideprecision - the precisionpublic PeptideConsensusSpectrum(Peptide peptide, int initialCapacity, PeakList.Precision precision, Set<UUID> memberIds)
initialCapacity and a precision
of precisionpeptide - the peptideinitialCapacity - the initial capacityprecision - the precisionpublic PeptideConsensusSpectrum(Peptide peptide, PeakList.Precision precision, Set<UUID> memberIDs, Set<String> proteinAccessionNumbers)
public PeptideConsensusSpectrum(Peptide peptide, PeakList.Precision precision, Set<UUID> memberIDs, Set<String> proteinAccessionNumbers, RetentionTimeDiscrete retentionTimeDiscrete)
public PeptideConsensusSpectrum(Peptide peptide, int initialCapacity, PeakList.Precision precision)
initialCapacity and a precision
of precisionpeptide - the peptideinitialCapacity - the initial capacityprecision - the precisionprotected PeptideConsensusSpectrum(PeptideConsensusSpectrum src, PeakProcessor<PepLibPeakAnnotation,PepLibPeakAnnotation> peakProcessor)
src - the LibrarySpectrum to copyprotected PeptideConsensusSpectrum(PeptideConsensusSpectrum src, PeakProcessorChain<PepLibPeakAnnotation> peakProcessorChain)
public static PeptideConsensusSpectrum.BuilderOld builder()
public boolean equals(Object o)
equals in class ConsensusSpectrum<PepLibPeakAnnotation>public int hashCode()
hashCode in class ConsensusSpectrum<PepLibPeakAnnotation>public PeptideConsensusSpectrum copy(PeakProcessor<PepLibPeakAnnotation,PepLibPeakAnnotation> peakProcessor)
PeakListcopy in interface PeakList<PepLibPeakAnnotation>copy in class ConsensusSpectrum<PepLibPeakAnnotation>peakProcessor - the processor to process the peakspublic PeptideConsensusSpectrum copy(PeakProcessorChain<PepLibPeakAnnotation> peakProcessorChain)
PeakListcopy in interface PeakList<PepLibPeakAnnotation>copy in class ConsensusSpectrum<PepLibPeakAnnotation>peakProcessorChain - the processor chain to process the peakspublic Peptide getPeptide()
public void setPeptide(Peptide peptide)
public void addProteinAccessionNumbers(String... acc)
acc - the protein accession numberpublic void addProteinAccessionNumbers(Collection<String> accessionNumbers)
accessionNumbers to the accession number list of this
LibrarySpectrumaccessionNumbers - the collection containing the accession numbers to addpublic void clearProteinAccessionNumber()
public Set<String> getProteinAccessionNumbers()
public void setStatus(PeptideConsensusSpectrum.Status status)
status - the statuspublic String getComment()
public void setComment(String comment)
comment - the comment //review make immutable?public PeptideConsensusSpectrum.Status getStatus()
public URI getSpectrumSource()
public void setSpectrumSource(URI spectrumSource)
public void setRetentionTime(com.google.common.base.Optional<RetentionTimeDiscrete> retentionTime)
public com.google.common.base.Optional<RetentionTimeDiscrete> getRetentionTime()
public static PeptideConsensusSpectrum.ConsensusParametersSetter builder(PeakList.Precision precision, URI spectrumSource)
Copyright © 2016. All Rights Reserved.