public class GlycanFragmentPeakGenerator extends Object implements GlycanPeakGenerator<GlycanFragAnnotation>
| Constructor and Description |
|---|
GlycanFragmentPeakGenerator(Set<FragmentType> fragmentTypes,
Set<IonType> ionTypes,
int peakIntensity) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotatedPeak<GlycanFragAnnotation>> |
generatePeaks(Glycan precursor,
GlycanFragment fragment,
int[] charges,
List<AnnotatedPeak<GlycanFragAnnotation>> annotatedPeaks)
Generate peaks that are observed for the fragment at the supplied charge states.
|
Set<FragmentType> |
getFragmentTypes()
Return the set of fragment type used in the peak generator.
|
public GlycanFragmentPeakGenerator(Set<FragmentType> fragmentTypes, Set<IonType> ionTypes, int peakIntensity)
public List<AnnotatedPeak<GlycanFragAnnotation>> generatePeaks(Glycan precursor, GlycanFragment fragment, int[] charges, List<AnnotatedPeak<GlycanFragAnnotation>> annotatedPeaks)
generatePeaks in interface GlycanPeakGenerator<GlycanFragAnnotation>fragment - the glycan fragment taken into account.charges - an array of charges used for generate different peaks with different charges.annotatedPeaks - the peaklist where you want to add the new generated peaks.precursor - the glycan that this fragment was derived from.public Set<FragmentType> getFragmentTypes()
getFragmentTypes in interface GlycanPeakGenerator<GlycanFragAnnotation>Copyright © 2016. All Rights Reserved.