nimare.extract
.download_cognitive_atlas¶
-
download_cognitive_atlas
(data_dir=None, overwrite=False, verbose=1)[source]¶ Download Cognitive Atlas ontology and combine Concepts, Tasks, and Disorders to create ID and relationship DataFrames.
- Parameters
- Returns
out_dict (
dict
) – Dictionary with two keys: ‘ids’ and ‘relationships’. Each points to a csv file. The ‘ids’ file contains CogAt identifiers, canonical names, and aliases, sorted by alias length (number of characters). The ‘relationships’ file contains associations between CogAt items, with three columns: input, output, and rel_type (relationship type).