# Is mouse age available for cell type ephys and morpohology data?

**URL:** <https://community.brain-map.org/t/is-mouse-age-available-for-cell-type-ephys-and-morpohology-data/385>\
**Category:** Technical\
**Tags:** celltype, api, analysis\
**Created:** [December 16, 2019, 2:15pm UTC](https://community.brain-map.org/t/is-mouse-age-available-for-cell-type-ephys-and-morpohology-data/385 "2019-12-16T14:15:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stripathy](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@stripathy](https://community.brain-map.org/u/stripathy)\
**Post date:** [December 16, 2019, 2:15pm UTC](https://community.brain-map.org/t/is-mouse-age-available-for-cell-type-ephys-and-morpohology-data/385/1 "2019-12-16T14:15:43Z")

</div>

Hi - I was wondering if animal age at time of experiment was recorded for cells characterized via in vitro patch clamp ephys and morphology? I noticed that these ages were available per donor/subject for the human cells but couldn’t easily find such ages for mouse cells.

From looking around at the XML (e.g., : [example API link for a mouse ephys cell](http://celltypes.brain-map.org/api/v2/data/Specimen/query.xml?criteria=model::Specimen,rma::criteria,%5Bid%24eq601294900%5D,specimen_types%5Bid%24eq305008011%5D,rma::include,donor(transgenic_lines%5Btransgenic_line_type_code%24eq%27D%27%5D),structure,cell_soma_locations,ephys_features,ephys_sweeps,ephys_result(well_known_files),neuronal_models(neuronal_model_template,neuronal_model_runs(well_known_files%5Bwell_known_file_type_id%24eq481007198%5D))), I noticed that there’s an XML field under donor for date-of-birth and age-id, but neither of those seem sufficient for directly calculating animal age.

Thanks in advance,  
Shreejoy

---

<div class="post-metadata">

**Author:** ![wayne](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/wayne/32/16_2.png) [@wayne](https://community.brain-map.org/u/wayne)\
**Post date:** [December 16, 2019, 5:45pm UTC](https://community.brain-map.org/t/is-mouse-age-available-for-cell-type-ephys-and-morpohology-data/385/2 "2019-12-16T17:45:47Z")

</div>

Hello Shreejoy

You can just add in an ‘age’ association on donor to your API call to include the section for age of the donor and time of sac.  
Snippet: `donor(age,transgenic_lines`  
[Your link with age added](http://celltypes.brain-map.org/api/v2/data/Specimen/query.xml?criteria=model::Specimen,rma::criteria,%5Bid%24eq601294900%5D,specimen_types%5Bid%24eq305008011%5D,rma::include,donor(age,transgenic_lines%5Btransgenic_line_type_code%24eq%27D%27%5D),structure,cell_soma_locations,ephys_features,ephys_sweeps,ephys_result(well_known_files),neuronal_models(neuronal_model_template,neuronal_model_runs(well_known_files%5Bwell_known_file_type_id%24eq481007198%5D)))
