Access Keys:
Skip to content (Access Key - 0)
 

Help

SEARCHING A SPECIMEN OR STRUCTURE TREE

Structure Tree Search Service

The Structure Tree Search service returns a flat list of ancestors and/or descendants for the specified Structure.

Prototype

 http://api.brain-map.org/api/v2/tree_search/Structure/[Structure.id].[json|xml]&ancestors=[true|false]&descendants=[true|false]

Example

Search for descendants of the Mouse Brain Atlas Ontology's Cortical plate Structure:

 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.

Specimen Tree Search Service

The Specimen Tree Search service returns a flat list of ancestors and/or descendants for the specified Specimen.

Prototype

 http://api.brain-map.org/api/v2/tree_search/Specimen/[Specimen.id].[json|xml]&ancestors=[true|false]&descendants=[true|false]

Example

Search for ancestors of a Specimen from the Human Brain ISH Neurotransmitter Study:

 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.

Adaptavist Theme Builder Powered by Atlassian Confluence