Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

performPermutation

Transform array with orthogonal permutation matrix


Description

Given an orthogonal permutation matrix T, an array of dimensions and a one-dimensional representation of data. It will return a transformed array with the transformed dimensions.

Usage

performPermutation(T, real.dimensions, data, verbose = FALSE)

Arguments

T

is an orthogonal matrix.

real.dimensions

is a one-dimensional array, representing the length of dimensions in data.

data

is a one-dimensional representation of the data to be transformed.

verbose

is a logical variable (default = FALSE) that allows text-based feedback during execution of the function.

Details

This function is mainly used by the reorient function to transform nifti data into neuroradiological convention.

Author(s)

See Also


oro.nifti

Rigorous - 'NIfTI' + 'ANALYZE' + 'AFNI' : Input / Output

v0.11.0
BSD_3_clause + file LICENSE
Authors
Brandon Whitcher [aut, cre], Volker Schmid [aut], Andrew Thornton [aut], Karsten Tabelow [ctb], Jon Clayden [ctb], John Muschelli [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.