Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 The following query examples demonstrate how to use RESTful Model Access (RMA) to retrieve metadata for experiments. The API utility, RMA Query Builder, can be used to compose RMA queries. The SectionImage Download Service can be used to download images.

Please note that multiple line example RMA queries on this page represent spaces enclosed in quotation marks with the "+" character to make the examples compatible with some browsers.

...

Code Block
http://api.brain-map.org/api/v2/data/query.csv?criteria=
model::SectionDataSet,
rma::criteria,[failed$eqfalse],products[abbreviation$eq'Mouse'],treatments[name$eq'ISH'],genes,plane_of_section,
rma::options,
[tabular$eq'plane_of_sections.name+as+plane','genes.acronym+as+gene','data_sets.id+as+section_data_set_id'],
[order$eq'plane_of_sections.name,genes.acronym,data_sets.id']
&num_rows=50&start_row=0

Mouse Brain coronal images for Adora2a in comma delimited format

Code Block

http://api.brain-map.org/api/v2/data/query.csv?criteria=
model::SectionDataSet,
rma::criteria,[failed$eqfalse],products[abbreviation$eq'Mouse'],treatments[name$eq'ISH'],genes[acronym$eq'Adora2a'],plane_of_section,section_images,
rma::options,
[tabular$eq'plane_of_sections.name+as+plane','genes.acronym+as+gene','data_sets.id+as+section_data_set_id','sub_images.id+as+section_image_id'],
[order$eq'plane_of_sections.name,genes.acronym,data_sets.id,sub_images.id']
&num_rows=50&start_row=0

Developing Mouse Brain

Developing Mouse Brain Atlas ISH experiments with images

...