Preprocess 'slices' argument.
preprocessSlices(slices, maxID)
slices
slices if not NULL, otherwise total number of subjects
Useful links