mmeStat: Compute maxima, CMI, or CEI inference statistics

View source: R/pbj.R

mmeStatR Documentation

Compute maxima, CMI, or CEI inference statistics

Description

Compute maxima, CMI, or CEI inference statistics

Usage

mmeStat(stat, rois = FALSE, mask, cft, maxima = FALSE, CMI = FALSE, CEI = TRUE)

Arguments

stat

statistical image

rois

passed to maxima and cluster functions. Returns image with ROI indices.

mask

Mask image.

cft

A single threshold on the scale of the statistical image (chi-squared) for CEI or CMI.

maxima

Compute local maxima?

CMI

Compute cluster masses?

CEI

Compute cluster extents?

Value

Returns a list with the maxima and CEI for the given image. This function is used as the default 'statistic' argument in [pbjInference()].


simonvandekar/pbj documentation built on Nov. 3, 2023, 9:33 a.m.