The uses the 4x4 matrix from the FreeSurfer CoordinateSystems documentation.
There are better ways to achieve this transformation than using this matrix, see Wu et al., 'Accurate nonlinear mapping between MNI volumetric and FreeSurfer surface coordinate system', Hum Brain Mapp. 2018 Sep; 39(9): 3793–3808. doi: 10.1002/hbm.24213. The mentioned method is available in R from the 'regfusionr' package (GitHub only atom, not on CRAN).
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.