public class PrecursorAnnotator extends Object
Constructor and Description |
---|
PrecursorAnnotator(Peptide peptide)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<IonMatch> |
getIonMatches(SpectrumIndex spectrumIndex,
int peptideCharge,
int isotopeMax)
Returns the ions matched in the given spectrum at the given charge.
|
public PrecursorAnnotator(Peptide peptide) throws InterruptedException
peptide
- the peptide of interest.InterruptedException
- exception thrown if a thread is
interruptedpublic ArrayList<IonMatch> getIonMatches(SpectrumIndex spectrumIndex, int peptideCharge, int isotopeMax)
spectrumIndex
- the index of the spectrumpeptideCharge
- the charge of the peptideisotopeMax
- the maximal isotopic value to annotate (inclusive)Copyright © 2019. All rights reserved.