sortDicomDirectory(directory, deleteOriginals = FALSE)
TRUE
, then the source files will be deleted after being copied to their new locations, making the operation a move rather than a copy. Nothing will be deleted if the copy fails.newMriImageFromDicom
for reading DICOM files into an MriImage
object.