Skip to contents

Generic function to create data chunks for parallel processing from various fMRI dataset types. Supports different chunking strategies.

Usage

data_chunks(x, nchunks = 1, runwise = FALSE, ...)

Arguments

x

An fMRI dataset object

nchunks

Number of chunks to create (default: 1)

runwise

If TRUE, create run-wise chunks (default: FALSE)

...

Additional arguments passed to methods

Value

A chunk iterator object