getStructureIds: Get IDs associated with a Structure given the exact Structure...

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. With the exception of the "root" structure, each Structure has one parent and denotes a "part-of" relationship. Due to this relationship, a Structure's total volume is denoted by both its own IDs and also that of its children's IDs. The StructureGraph for the Developing Mouse Brain Atlas is provided here under data/structureID.rda. This function allows you to obtain all IDs associated with a Structure given its exact name.

Usage

1
getStructureIds(nestedList, name)

Arguments

nestedList

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

name

Structure's name

Value

cids The Structure's ID and all its children's IDs

Examples

1
2

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