nimare.generate.create_coordinate_dataset

create_coordinate_dataset(foci=1, foci_percentage='100%', fwhm=10, sample_size=30, n_studies=30, n_noise_foci=0, seed=None, space='MNI')[source]

Generate coordinate based dataset for meta analysis.

Added in version 0.0.4.

Parameters:
  • foci (int or list) – The number of foci to be generated per study or the x,y,z coordinates of the ground truth foci. (Default=1)

  • foci_percentage (float) – Percentage of studies where the foci appear. (Default=”100%”)

  • fwhm (float) – Full width at half maximum (fwhm) to define the probability spread of the foci. (Default=10)

  • sample_size (int or list) – Either mean number of participants in each study or a list specifying the sample size for each study. If a list of two numbers and n_studies is not two, then the first number will represent a lower bound and the second number will represent an upper bound of a uniform sample. (Default=30)

  • n_studies (int) – Number of studies to generate. (Default=30)

  • n_noise_foci (int) – Number of foci considered to be noise in each study. (Default=0)

  • seed (int or None) – Random state to reproducibly initialize random numbers. If seed is None, then the random state will try to be initialized with data from /dev/urandom (or the Windows analogue) if available or will initialize from the clock otherwise. (Default=None)

  • space (str) – The template space the coordinates are reported in. (Default=’MNI’)

Returns:

  • ground_truth_foci (list) – generated foci in xyz (mm) coordinates

  • dataset (Dataset)

Examples using nimare.generate.create_coordinate_dataset

Simulate data for coordinate based meta-analysis

Simulate data for coordinate based meta-analysis

Coordinate-based meta-regression algorithms

Coordinate-based meta-regression algorithms