In MRtrix, is it possible to combine two linear transformations into one affine?
transformcompose. See the docs for usage instructions.
transformcompose