threshold_data: Threshold data Thresholds the data according to the...

View source: R/threshold_data.R

threshold_dataR Documentation

Threshold data Thresholds the data according to the corresponding multiple testing correction. This function is used internally.

Description

Threshold data Thresholds the data according to the corresponding multiple testing correction. This function is used internally.

Usage

threshold_data(
  perm_results,
  alpha_local,
  alpha_global,
  data_dim,
  null_distribution
)

Arguments

perm_results

object created from perm_dist function. Contains the distribution of maxT and STCS AND the matrix obtained from applying a hypothesis test at each grid cell.

alpha_local

significance threshold at the grid cell level.

alpha_global

desired overall significance level

data_dim

dimesions of original data. Used for calculating df for t distributed test statistics, ignored if the test statistic is normal


jcortesr/PerMuTe documentation built on July 31, 2023, 8:03 a.m.