BootstrapSearchlight: Create a searchlight iterator that samples regions from...

Description Usage Arguments

View source: R/BrainRegion3D.R

Description

Create a searchlight iterator that samples regions from within a mask. Searchlight centers are sampled *without* replacement, but the same voxel can belong to multiple searchlight samples. It is in the latter sense that this is a bootstrap resampling scheme.

Usage

1
BootstrapSearchlight(mask, radius, iter = 100)

Arguments

mask

an image volume containing valid central voxels for roving searchlight

radius

in mm of spherical searchlight

iter

the total number of searchlights to sample (default is 100)


neuroim documentation built on May 2, 2019, 1:04 p.m.