="fu">::</span><span class="fu"><a href="https://rdrr.io/pkg/oro.nifti/man/slice-methods.html" class="external-link">slice</a></span><span class="op">(</span><span class="va">img</span>, z <span class="op">=</span> <span class="fl">45</span><span class="op">)</span></span></code></pre></div>
<p><img src="simple_io_files/figure-html/all_slices-1.png" width="700"></p>
<p>We can also get a view of multiple slices:</p>
<div class="sourceCode" id="cb12"><pre class="downlit sourceCode r">
<code class="sourceCode 