renameImageFiles: Rename image directories

Description Usage Arguments Author(s)

View source: R/procImageFiles.R

Description

Assuming that the files are on the prefered form './subject-id/image-types/files' but where 'image-types' are for some reason not matched across different subject-ids. This function will then rename the 'image-types' for each 'subject-id' to the 'newnames'. The image-type directories in each subject-id is lexically sorted before the renaming procedure!

Usage

1
  renameImageFiles(dir, newnames, ...)

Arguments

dir

Path to process

newnames

New names of image-directories

...

Additional arguments to lower level functions

Author(s)

Klaus K. Holst


kkholst/neurocdf documentation built on May 20, 2019, 10:59 a.m.