Read a brain image http://hilaryparker.com/2014/04/29/writing-an-r-package-from-scratch/ This function allows you to read a brain image very nicely
1 | read.image(file, dim, file.format = "NIFTI")
|
file |
|
file.format |
file format the mri file is stored in. Currently only NIFTI |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.