compute_clustermass: Clustermass test correction

View source: R/compute_clustermass.R

compute_clustermassR Documentation

Clustermass test correction

Description

Compute the clustermass test correction given a matrix a permuted statistical signals.

Usage

compute_clustermass(distribution, threshold, aggr_FUN, alternative = "greater")

Arguments

distribution

A matrix of permuted statistical signal. The first row indicating the observed statistics.

threshold

A scalar that respresents the threshold to create the clusters.

aggr_FUN

A function to compute the clustermasses. See details for examples.

alternative

A character string indicating the alternative hypothesis. Default is "greater". Choose between "greater", "less" or "two.sided".

Details

The aggr_FUN argument may take predefined function as the sum: aggr_FUN = sum and also user-defined function as the sum of squares: aggr_FUN = function(x){sum(x^2)}

See Also

Other multcomp: compute_clusterdepth_head(), compute_clusterdepth(), compute_maxT(), compute_minP(), compute_stepdownmaxT(), compute_tfce(), compute_troendle()


permuco documentation built on June 30, 2022, 9:05 a.m.