MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / findHit

Method findHit

src/openms/source/METADATA/ProteinIdentification.cpp:292–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 vector<ProteinHit>::iterator ProteinIdentification::findHit(
293 const String& accession)
294 {
295 vector<ProteinHit>::iterator pos = protein_hits_.begin();
296 for (; pos != protein_hits_.end(); ++pos)
297 {
298 if (pos->getAccession() == accession)
299 {
300 break;
301 }
302 }
303 return pos;
304 }
305
306 const vector<ProteinIdentification::ProteinGroup>& ProteinIdentification::getProteinGroups() const
307 {

Callers 7

writeProteinTable_Method · 0.80
mergeIds_Method · 0.80
passesFilters_Method · 0.80
storeMethod · 0.80

Calls 3

getAccessionMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by 1

storeMethod · 0.64