getStructureIDs: Acquire a list of structure ids

View source: R/allenBrain.R

getStructureIDsR Documentation

Acquire a list of structure ids

Description

This function acquires the list of structure ids and names that correspond to the structure ids in Allen Brain Atlas. Default behavior is to get the mouse brain atlas ontology. Most downstream functions in this package are specific to mouse brain ontology

Usage

getStructureIDs(
  ontologyName = c("Mouse Brain Atlas", "Developing Mouse Brain Atlas",
    "Human Brain Atlas", "Developing Human Brain Atlas", "Non-Human Primate Brain Atlas",
    "Glioblastoma"),
  graphID = NULL
)

Arguments

ontologyName

name of the ontology to download

graphID

alternative to ontologyName, graph IDs can be provided to acquire the corresponding ontology. This will override the ontologyName provided.

Value

A data frame with 4 columns: id, names, acronyms and parent


oganm/allenBrain documentation built on March 28, 2024, 11:16 p.m.