getName: A recursive way to get the name of a Structure given its ID

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 retrieve the name of a Structures given its ID.

Usage

1
getName(nestedList, sid)

Arguments

nestedList

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

sid

id The structure ID

Value

n Brain structure name

Examples

1
2

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