5" tabindex="-1"></a><span class="co"># Or read as a single concatenated 4D volume</span></span>
<span id="cb13-6"><a href="#cb13-6" tabindex="-1"></a>vols_list <span class="ot">&lt;-</span> <span class="fu">lapply</span>(files, read_vol)</span>
<span id="cb13-7"><a href="#cb13-7" tabindex="-1"></a>vec_concat <span class="ot">&lt;-</span> <span class="fu">vec_from_vols</span>(vols_list)</span></code></pre></div>
</div>
</div>
<div id="practical-example-roi-based-time-series-analysis" class="section level1">