CalculatePvalue: CalculatePvalue - calculate the p value for cluster detection...

Description Usage Arguments Examples

View source: R/CalculatePvalue.R

Description

This function wraps many of the other functions to perform cluster detection analysis using the wild bootstrap.

Usage

1
CalculatePvalue(observed_cc, WB_cc, nboot, sigtype)

Arguments

observed_cc

the observed statistical value, can be the area of a connected component or the Z transformed Wald statistic

WB_cc

The distribution of areal extents derived from the wild bootstrap – used when performing cluster detection

nboot

The number of wild bootstraps performed, used to calculate the p value for cluster detection

sigtype

A character string representing the type of significance test, will perform cluster detection if "cluster" is specified.

Examples

1
p <- CalculatePvalue(observed_cc,WB_cc,nboot,sigtype)

DCAN-Labs/MarginalModelCIFTI documentation built on Nov. 30, 2021, 3:40 p.m.