convert_hdr_nii: Convert the data from a Header 'data.frame' into NIfTI files

Description Usage Arguments Value

View source: R/convert_hdr_nii.R

Description

Convert the data from a Header data.frame into NIfTI files

Usage

1
2
3
convert_hdr_nii(sub_hdr, merge_files = TRUE, ignore_derived = TRUE,
  overwrite = FALSE, rename = TRUE, opts = "-f %t",
  outdir = tempdir())

Arguments

sub_hdr

Output from subset_hdr or the data relevant from noncon_brain_ct

merge_files

Should files be merged, passed do dcm2nii options

ignore_derived

Should derived images be ignored, passed do dcm2nii options

overwrite

Should files be overwritten if they exist

rename

Should the files be renamed

opts

additional options passed to dcm2nii

outdir

output directory

Value

A list of the output filenames and the result for each directory dcm2nii call


neuroconductor-devel-releases/dcmsort documentation built on Oct. 22, 2020, 11:26 a.m.