getIds: A recursive way to get IDs and names of structure given a...

Description Usage Arguments Value Examples

View source: R/functions.R

Description

In the Allen Brain Atlas, a Structure represents a neuroanatomical region of interest. Structures are grouped into Ontologies and organized in a hierarchy or StructureGraph. The StructureGraph for the Developing Mouse Brain Atlas is provided here under data/structureID.rda. This function allows you to browse Structures by name and ID given a name substring.

Usage

1
getIds(nestedList, name)

Arguments

nestedList

A JSON derived nested list of Structure relationships from Allen Brain Atlas's StructureGraph

name

Brain structure name substring

Value

ids A dictionary of Structures that contain the name with their IDs

Examples

1
2

hms-dbmi/brainmapr documentation built on May 17, 2019, 4:35 p.m.