getSearchlightPattern: Extract searchlight pattern from a SPM

Description Usage Arguments Value Author(s) See Also

View source: R/searchlight.r

Description

For a provided spm object and a mask of voxel the function extracts the values of the parameter estimates within the searchlight region and for all voxel in the mask.

Usage

1
getSearchlightPattern(spm, voxel, radius)

Arguments

spm

an object of class 'fmrispm'

voxel

a mask (logical) with dimensionality compatible to the spm

radius

radius of the searchlight

Value

an array of dimension c(nb, nsl, nvox) with nb the number of estimated parameters in spm$beta, nsl the number of voxel in the searchlight and nvox the number of voxel in the mask provided as second argument

Author(s)

Joerg Polzehl polzehl@wias-berlin.de

See Also

fmri.searchlight, fmri.lm~~~


neuroconductor/fmri documentation built on May 20, 2021, 4:28 p.m.