lt;-</span> <span class="fu">NeuroVec</span>(fmri_data, <span class="fu">NeuroSpace</span>(dims_fmri))</span>
<span id="cb14-5"><a href="#cb14-5" tabindex="-1"></a></span>
<span id="cb14-6"><a href="#cb14-6" tabindex="-1"></a><span class="co"># Define an ROI</span></span>
<span id="cb14-7"><a href="#cb14-7" tabindex="-1"></a>roi <span class="ot">&lt;-</span> <span class="fu">spherical_roi</span>(<span class="fu">space</span>(fmri), <span class="fu">c</span>(<span class="dv">10</span>, <span class="dv">10</s