Apply Cluster-Extent Threshold to Surface Data
Source:R/all_generic.R, R/neuro_surface.R
cluster_threshold-methods.RdApply 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<= loweror>= upperare retained (two-tailed), as inconn_comp()- size
the minimum size of the connected components to keep
- ...
Additional arguments
- index
the index/column of the underlying data matrix to cluster