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., ALE.correct_fwe_permutation).

Methods

transform(self, result) Apply the multiple comparisons correction method to a MetaResult object.
transform(self, 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 – MetaResult with new corrected maps added.
Return type:nimare.results.MetaResult