
<span id="cb1-4"><a href="#cb1-4" tabindex="-1"></a>img <span class="ot">&lt;-</span> <span class="fu">read_vol</span>(<span class="fu">system.file</span>(<span class="st">&quot;extdata&quot;</span>, <span class="st">&quot;global_mask2.nii.gz&quot;</span>, <span class="at">package =</span> <span class="st">&quot;neuroim2&quot;</span>))</span>
<span id="cb1-5"><a href="#cb1-5" tabindex="-1"></a></span>
<span id="cb1-6"><a href="#cb1-6" tabindex="-1"></a><span class="co"># Inspect the spatial properties</spa