Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidIdentIndex = errors.New("mzIdentML: invalid identification index")
)
Functions ¶
This section is empty.
Types ¶
type Identification ¶
type MzIdentML ¶
type MzIdentML struct {
// contains filtered or unexported fields
}
MzIdentML holds only the part of mzIdentML files in which we are interrested
func (*MzIdentML) Ident ¶
func (m *MzIdentML) Ident(i int) (Identification, error)
Ident returns a spectrum identification from the mzIdentML file. Parameter i is the index of the identification to return. The index runs from 0 to NumIdents()-1
func (*MzIdentML) NumIdents ¶
NumIdents returns the total number of identifications in the mzIdentML file Note that for some spectra, multiple identifications may be present The identifications can be accessed using the Ident() method, which takes an index as argument. The index runs from 0 to NumIdents()-1
Click to show internal directories.
Click to hide internal directories.