aba_flatten_ontology: Convert the nested Allen Brain Atlas ontology to a...

Description Usage Arguments Value Examples

View source: R/aba.R

Description

Convert the nested Allen Brain Atlas ontology to a data.frame.

Usage

1
aba_flatten_ontology(ontology, ontology_df = NULL)

Arguments

ontology_df

The current ABA ontology data.frame. Used for recursive unpacking of the list ontology.

@ontology

The list-based ontology returned by the aba_get_ontology() function.

Value

a data.frame containing the ontology, along with a parent_id column for retaining hierarchical information.

Examples

1
2
3
4

hypercompetent/xstitch documentation built on July 22, 2019, 10:11 p.m.