Difference between revisions of "Design Specs: Evidence Handling"
From WormBaseWiki
Jump to navigationJump to search (→API) |
(→API) |
||
Line 5: | Line 5: | ||
returns a hash reference containing all the types of evidences to the right of the node | returns a hash reference containing all the types of evidences to the right of the node | ||
− | argument $type is optional | + | argument $type is optional. If specified, only this type of evidence is retrieved. |
e.g. in lib/API/Object/Gene.pm | e.g. in lib/API/Object/Gene.pm | ||
=Template= | =Template= |
Revision as of 20:37, 3 January 2012
API
by calling the _get_evidence($node,$type) subroutine in lib/API/Object.pm
returns a hash reference containing all the types of evidences to the right of the node
argument $type is optional. If specified, only this type of evidence is retrieved.
e.g. in lib/API/Object/Gene.pm