Recipe 1.2 - Creating PeakAnnotation
You want to make a new instance of PeakAnnotation.
A PeakAnnotation is associated to PeakList peaks. It gives meta information about a given peak. We have actually two kind of implementations: PepFragAnnotation gives identification information about the associated theoretical fragment
LibraryPeakAnnotation stores statistical information about the consensus peaks
Then PeakAnnotations is added to PeakList at specific peak index
For more information about peaks, see Recipe 1.1