nimare.extract
.download_cognitive_atlas¶
- download_cognitive_atlas(data_dir=None, overwrite=False, verbose=1)[source]¶
Download Cognitive Atlas ontology and extract IDs and relationships.
- 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).