TFCE.threshold {VertexWiseR}R Documentation

Thresholding TFCE output

Description

Threshold TFCE maps from the TFCE.vertex_analysis() output and identifies significant clusters at the desired threshold.

Usage

TFCE.threshold(TFCE.output, p = 0.05, atlas = 1, k = 20)

Arguments

TFCE.output

An object containing the output from TFCE.vertex_analysis()

p

A numeric object specifying the p-value to threshold the results (Default is 0.05)

atlas

A numeric integer object corresponding to the atlas of interest. 1=Desikan, 2=Schaefer-100, 3=Schaefer-200, 4=Glasser-360, 5=Destrieux-148 (Default is 1)

k

Cluster-forming threshold (Default is 20)

Value

A list object containing the cluster level results, thresholded t-stat map, and positive, negative and bidirectional cluster maps.

Examples

model1_TFCE=readRDS(system.file('demo_data/model1_TFCE.rds', 
package = 'VertexWiseR'))

TFCEanalysis_output=TFCE.threshold(model1_TFCE, p=0.05, atlas=1)
TFCEanalysis_output$cluster_level_results

[Package VertexWiseR version 1.0.0 Index]