data.frame into NIfTI filesR/convert_hdr_nii.R
convert_hdr_nii.RdConvert the data from a Header data.frame into NIfTI files
convert_hdr_nii(sub_hdr, merge_files = TRUE, ignore_derived = TRUE,
overwrite = FALSE, rename = TRUE, opts = "-f %t",
outdir = tempdir())Output from subset_hdr or the
data relevant from noncon_brain_ct
Should files be merged, passed do dcm2nii options
Should derived images be ignored,
passed do dcm2nii options
Should files be overwritten if they exist
Should the files be renamed
additional options passed to dcm2nii
output directory
A list of the output filenames and the result for each directory
dcm2nii call