Skip to contents

Apply Cluster-Extent Threshold to Surface Data

Usage

cluster_threshold(x, threshold, size, ...)

# S4 method for class 'NeuroSurfaceVector'
cluster_threshold(x, threshold, size = 10, index = 1)

# S4 method for class 'NeuroSurface'
cluster_threshold(x, threshold, size = 10)

Arguments

x

Object to threshold

threshold

the two-element threshold c(lower, upper) used to define connected components; vertices with values <= lower or >= upper are retained (two-tailed), as in conn_comp()

size

the minimum size of the connected components to keep

...

Additional arguments

index

the index/column of the underlying data matrix to cluster

Value

A thresholded surface object of the same class as x

See also