Learn R Programming

BayesBrainMap (version 0.1.3)

make_mask: Create a mask based on vertices that are invalid

Description

Create a mask based on vertices that are invalid

Usage

make_mask(BOLD, meanTol = -Inf, varTol = 1e-06, verbose = TRUE)

Value

A logical vector indicating valid vertices

Arguments

BOLD

A \(V \times T\) numeric matrix. Each row is a location.

meanTol, varTol

Tolerance for mean and variance of each data location. Locations which do not meet these thresholds are masked out of the analysis. Defaults: -Inf for meanTol (ignore), and 1e-6 for varTol.

verbose

Print messages counting how many locations are removed?