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. 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.

Mouse Brain

Mouse Brain ISH experiments with images

Code Block
http://api.brain-map.org/api/v2/data/query.xml?criteria=
model::SectionDataSet,
rma::criteria,[failed$eqfalse],products[abbreviation$eq'Mouse'],treatments[name$eq'ISH'],
rma::include,genes,specimen(donor(age)),plane_of_section,section_images
&num_rows=10&start_row=0

...

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

Developing Mouse Brain

Developing Mouse Brain Atlas ISH experiments with

...

images

Code Block
http://api.brain-map.org/api/v2/data/query.xml?criteria=
model::SectionDataSet,
rma::criteria,[failed$eqfalse],products[abbreviation$eq'DevMouse'],treatments[name$eq'ISH'],
rma::include,genes,specimen(donor(age)),plane_of_section,section_images
&num_rows=10&start_row=0

Sleep Study

Sleep Study ISH experiments

...

with images, including the experimental condition:

Code Block
http://api.brain-map.org/api/v2/data/query.xml?criteria=
model::SectionDataSet,
rma::criteria,[failed$eqfalse],products[abbreviation$eq'Sleep'],treatments[name$eq'ISH'],
rma::include,probes(gene),plane_of_section,specimen(donor(disease_categories,medical_conditions)),section_images
&num_rows=10

Human Brain

Human Brain ISH Autism Study experiments

...

with images, including the donor's conditions

Code Block
http://api.brain-map.org/api/v2/data/query.xml?criteria=
model::SectionDataSet,
rma::criteria,[failed$eqfalse],products[abbreviation$eq'HumanASD'],treatments[name$eq'ISH'],
rma::include,probes(gene),specimen(donor(age,disease_categories,medical_conditions)),section_images
&num_rows=10

...

Code Block
http://api.brain-map.org/api/v2/data/query.xml?criteria=
model::MicroarraySlide,
rma::criteria,microarray_data_sets[failed$eqfalse](products[abbreviation$eq'HumanMA']),
rma::include,structures,well_known_files,microarray_data_sets(specimen(donor(age)))

Developing Human Brain

Developing Human Brain ISH experiments with images

Code Block
http://api.brain-map.org/api/v2/data/query.xml?criteria=
model::SectionDataSet,
rma::criteria,[failed$eqfalse],products[abbreviation$eq'DevHumanISH'],treatments[name$eq'ISH'],
rma::include,probes(gene),specimen(donor(age,disease_categories,medical_conditions)),section_images
&num_rows=10

...