nimare.io
.convert_neurosynth_to_dataset¶
-
convert_neurosynth_to_dataset
(text_file, annotations_file=None, target='mni152_2mm')[source]¶ Convert Neurosynth database files into dictionary and create NiMARE Dataset with dictionary.
Parameters: - text_file (
str
) – Text file with Neurosynth’s coordinates. Normally named “database.txt”. - target ({'mni152_2mm', 'ale_2mm'}, optional) – Target template space for coordinates. Default is ‘mni152_2mm’.
- annotations_file (
str
or None, optional) – Optional file with Neurosynth’s annotations. Normally named “features.txt”. Default is None.
Returns: Dataset object containing experiment information from text_file.
Return type: - text_file (