nimare.io.convert_sleuth_to_studyset

convert_sleuth_to_studyset(text_file, target='ale_2mm')[source]

Convert Sleuth output text file into a NiMARE Studyset.

This is the Studyset-native companion to convert_sleuth_to_dataset() and accepts the same arguments.

Parameters:
  • text_file (str or list of str) – Path to Sleuth-format text file. More than one text file may be provided.

  • target ({'ale_2mm', 'mni152_2mm'} or None, optional) – Target template space for coordinates. If None, coordinates remain in the reference space indicated by the Sleuth file’s //Reference= header and no template-based masker is created. If a template name is provided, coordinates are transformed into that space and a corresponding Studyset view can be created.

Returns:

Studyset object containing experiment information from text_file.

Return type:

Studyset

Examples using nimare.io.convert_sleuth_to_studyset

Two-sample ALE meta-analysis

Two-sample ALE meta-analysis

Comparing ALE-based pairwise contrast strategies

Comparing ALE-based pairwise contrast strategies