SEARCHING A SPECIMEN OR STRUCTURE TREE
Table of Contents |
---|
...
|
...
|
...
|
Structure Tree Search Service
The Structure Tree Search service returns a flat list of ancestors and/or descendants for the specified Structure.
Prototype
No Format |
---|
http://api.brain-map.org/api/v2/tree_search/Structure/[Structure.id].[json|xml]&ancestors=[true|false]&descendants=[true|false]
|
...
Search for descendants of the Mouse Brain Atlas Ontology's Cortical plate Structure:
No Format |
---|
http://api.brain-map.org/api/v2/tree_search/Structure/695.xml?descendants=true
|
Parameters
filename | Integer | Structure.id |
file extension | String | .xml or .json |
ancestors | Boolean (optional) | Defaults to false. Searches for Structures that the specified Structure descends from in the associated Ontology. |
descendants | Boolean (optional) | Defaults to false. Searches for Structures that descend from the specified Structure in the associated Ontology. |
Returns
Flat list of Structures ordered by level in XML or JSON format.
...
The Specimen Tree Search service returns a flat list of ancestors and/or descendants for the specified Specimen.
Prototype
No Format |
---|
http://api.brain-map.org/api/v2/tree_search/Specimen/[Specimen.id].[json|xml]&ancestors=[true|false]&descendants=[true|false]
|
...
Search for ancestors of a Specimen from the Human Brain ISH Neurotransmitter Study:
No Format |
---|
http://api.brain-map.org/api/v2/tree_search/Specimen/113817886.xml?ancestors=true
|
Parameters
filename | Integer | Specimen.id |
file extension | String | .xml or .json |
ancestors | Boolean (optional) | Defaults to false. Searches for Specimens that the specified Specimen descends from in the hierarchy. |
descendants | Boolean (optional) | Defaults to false. Searches for Specimens that descend from the specified Specimen in the hierarchy. |
Returns
Flat list of Specimens ordered by level in XML or JSON format.