nimare.correct.FDRCorrector

class FDRCorrector(alpha=0.05, method='indep', **kwargs)[source]

Perform false discovery rate correction on a meta-analysis.

Parameters
  • alpha (float) – The FDR correction rate to use.

  • method (str) – The FDR correction to use. Either ‘indep’ (for independent or positively correlated values) or ‘negcorr’ (for general or negatively correlated tests).

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.mkda.MKDAChi2.correct_fdr_bh).

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.

Examples using nimare.correct.FDRCorrector