03 Jul

Same Job, Different Seed

Often, it is desirable to submit the same job to a computing cluster, changing only a few variables each time. For example, you may wish to run a simulation where random variables are generated from the same distribution, but each time with a different seed. Here, we will be generating 100 Read More

12 Jan

Coursera Motivation

Over the past year, I have signed up for over 10 Coursera classes.   My research involves working with Neuroimaging data and I want to take Coursera classes in order to learn some of the basics of Neuroscience.   I’m tired of being in meetings with collaborators and referring to parts Read More

14 Nov

What I am Reading: Part I

Just Kids (Patti Smith). This memoir details the close friendship and rise to fame of the author, singer-songwriter Patti Smith, and photographer Robert Mapplethorpe.   The pair met in Brooklyn, New York in the late 1960s.  I have to be honest and admit that I only read half the Read More

27 Aug

Converting .dcm to .nii Image Format in R

## This code reads a dicom image, converts it to a nifit and then writes the nifit file.
##  Requires the packages oro.dicom and oro.nifti.
## Elizabeth Sweeney
## August 26th 2013


dicom <- readDICOM(‘~/folder’, flipud = FALSE)
nifti <- dicom2nifti(dicom)
writeNIfTI(nifti, filename = Read More