cluster_extrema: Print information on cluster extreme values.

Description Usage Arguments Value Note

View source: R/cluster_loc.R

Description

A cluster extreme value is the most extreme value of a cluster. One can choose whether the minimum, maximum, or absolute maximum is requested. Each cluster has exactly one extreme value (though it may occur at several vertices in rare cases).

Usage

1
2
3
4
5
6
cluster_extrema(
  clusterinfo,
  type = "extreme",
  silent = getOption("brainloc.silent", default = FALSE),
  ...
)

Arguments

clusterinfo

a clusterinfo instance, see the clusterinfo function to get one.

type

character string, one of 'extreme', 'min' or 'max'. Which cluster value to report. The default of 'extreme' reports the absolutely larger one of the min and the max value and is for the typical use case of t-value maps.

silent

whether to suppress printing messages to stdout.

...

passed on to clusteroverlay_to_annot.

Value

a data.frame with cluster extrema information. The column names should be self-explanatory.

Note

If the extreme value occurs at several vertices of a cluster, which of these vertices will be reported is undefined.


dfsp-spirit/brainloc documentation built on Jan. 28, 2022, 12:25 p.m.