This function takes a vector of values representing the dimension of the
vertex-wise data to use and splits it into chunks for speeding up parallel
processing.
Usage
make_chunk_sequence(iv, chunk_size = 1000)
Arguments
- iv
: indices of the vertex-wise brain data to use.
- chunk_size
: (default = 1000) how big are the chunks
Value
A matrix with n_chunks rows and 2 columns (chunk start and end positions).
Author
Serena Defina, 2024.