src/Reader/MzIdentMlReader1r1.php
private function getProteinAmbiguityGroup(\SimpleXMLElement $xml)
    {
        $hypos = array();
        foreach ($xml->ProteinDetectionHypothesis as $proteinDetectionHypothesis) {
            $hypo = $this->getProteinDetectionHypothesis($proteinDetectionHypothesis);
            $hypos[$hypo['id']] = $hypo;
        }

        return $hypos;
    }
private function getProteinAmbiguityGroup(\SimpleXMLElement $xml)
    {
        $hypos = array();
        foreach ($xml->ProteinDetectionHypothesis as $proteinDetectionHypothesis) {
            $hypo = $this->getProteinDetectionHypothesis($proteinDetectionHypothesis);
            $hypos[$hypo['id']] = $hypo;
        }

        return $hypos;
    }
private function getProteinAmbiguityGroup ( \ SimpleXMLElement $ xml ) { $ hypos = array ( ) ; foreach ( $ xml -> ProteinDetectionHypothesis as $ proteinDetectionHypothesis ) { $ hypo = $ this -> getProteinDetectionHypothesis ( $ proteinDetectionHypothesis ) ; $ hypos [ $ hypo [ 'id' ] ] = $ hypo ; } return $ hypos ; }
A set of logically related results from a protein detection, for example to represent conflicting assignments of peptides to proteins.

@param \SimpleXMLElement $xml
XML to parse
A set of logically related results from a protein detection for example to represent conflicting assignments of peptides to proteins .