get_id {ABAEnrichment} | R Documentation

## Get the structure ID of a brain region given its name

### Description

Returns brain regions given (part of) their name, together with their structure IDs from the ontologies for the adult and for the developing brain (e.g. 'Allen:10657' as used throughout the ABAEnrichment package).

### Usage

        get_id(structure_name)

### Arguments

`structure_name` | (partial) name of a brain structure, e.g. 'telencephalon'

### Value

a data frame with the full names of the brain structures that contain `structure_name`; together with the ontology ('developmental' or 'adult') and the structure IDs.

### Author(s)

Steffi Grote

### References

[1] Allen Institute for Brain Science. Allen Human Brain Atlas. Available from: http://human.brain-map.org/
[2] Allen Institute for Brain Science. BrainSpan Atlas of the Developing Human Brain. Available from: http://brainspan.org/

### See Also

`get_name`
`get_sampled_substructures`
`get_superstructures`
`browseVignettes("ABAData")`

### Examples

    ## get structure IDs of brain regions that contain 'accumbens' in their names
    get_id('accumbens')
    ## get structure IDs of brain regions that contain 'telencephalon' in their name
    get_id('telencephalon')
    ## get all brain regions that have direct or indirect expression data
    all_regions = get_id('')
    head(all_regions)

[Package ABAEnrichment version 1.20.0 Index]