nimare.correct.FWECorrector

class FWECorrector(method='bonferroni', **kwargs)[source]

Perform family-wise error rate correction on a meta-analysis.

Parameters
  • method (str) – The FWE correction to use. Available internal methods are ‘bonferroni’. Additional methods may be implemented within the provided Estimator.

  • **kwargs – Keyword arguments to be used by the FWE correction implementation.

Notes

This corrector supports a small number of internal FDR correction methods, but can also use special methods implemented within individual Estimators. To determine what methods are available for the Estimator you’re using, check the Estimator’s documentation. Estimators have special methods following the naming convention correct_[correction-type]_[method] (e.g., nimare.meta.cbma.ale.ALE.correct_fwe_montecarlo).

transform(result)[source]

Apply the multiple comparisons correction method to a MetaResult object.

Parameters

result (nimare.results.MetaResult) – MetaResult generated by an Estimator to be corrected for multiple comparisons.

Returns

result (nimare.results.MetaResult) – MetaResult with new corrected maps added.