ecat2nii: Ecat7 to NIfTI Converter

View source: R/pipeline_convert.R

ecat2niiR Documentation

Ecat7 to NIfTI Converter

Description

Wrapper for the Turku PET Centre ecat2nii function

Usage

ecat2nii(
  v_filename,
  inpath = getwd(),
  out_filename = NULL,
  outpath = getwd(),
  checkLines = F,
  compressFile = T,
  bids_sidecar = T
)

Arguments

v_filename

Filename of the input .v file. Preferably without file extension. Should only be the filename. Path goes into inpath.

inpath

Path to the input file. Defaults to working directory.

out_filename

Filename of the output file. Preferably without file extension. Defaults to same as the input filename. Should only be the filename. Path goes into outpath.

outpath

Path where the output file should be placed. Defaults to the working directory.

checkLines

Should the system commands be checked (and not run)? Default FALSE.

compressFile

Should the output be compressed as a .nii.gz file? Default TRUE.

bids_sidecar

Should a BIDS sidecar file also be produced? Default T.

Value

If checkLines is TRUE, the commands will be returned. If checkLines is FALSE, the binary success of each command will be returned.

Examples

ecat2nii('r_abcd_1', out_filename = 'abcd_1', checkLines = F, compressFile = T)


mathesong/kipettools documentation built on Feb. 5, 2024, 10:10 p.m.