Skip to content

Instantly share code, notes, and snippets.

@muschellij2
Created March 22, 2013 15:33
Show Gist options
  • Save muschellij2/5222214 to your computer and use it in GitHub Desktop.
Save muschellij2/5222214 to your computer and use it in GitHub Desktop.
Reading in Neuroimaging Data R
library(oro.nifti)
img <- readNIfTI("MNI152_T1_2mm_brain.nii.gz")
image(x, z=40, plot.type="single")
arr <- x@.Data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment