ar/voxel/blob/master/R/ts2matrix.R'><code>R/ts2matrix.R</code></a></small>
    <div class="hidden name"><code>ts2matrix.Rd</code></div>
    </div>

    <div class="ref-description">
    
    <p>This function is able to mask a 4-Dimensional image and create a matrix from it. 
Each column represents the same voxel in the xyz array while the rows represent the t-dimension.</p>
    
    </div>

    <pre class="usage"><span class='fu'>ts2matrix</span>(<span class='no'>image</span>, <span class='no'>mask</span>)<