get_id: Get the structure ID of a brain region given its name

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/get_id.R

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

1
    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

1
2
3
4
5
6
7
## 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)

ABAEnrichment documentation built on Nov. 8, 2020, 5:43 p.m.