This function calls the readNIfTI function from the oro.nifti package, but sets the reorientation to FALSE by default

readNIfTI2(..., reorient = FALSE)

readnii(
  ...,
  reorient = FALSE,
  dtype = TRUE,
  drop_dim = TRUE,
  reset_slope = FALSE,
  warn = FALSE,
  rm_extensions = TRUE
)

Arguments

...

Arguments to pass to readNIfTI

reorient

Reorientation argument to pass to readNIfTI

dtype

Should datatyper be run after reading?

drop_dim

Should drop_img_dim be run after reading?

reset_slope

Reset slope/intercept of image

warn

Should warnings from readNIfTI be printed? If not, suppressWarnings is called. Also passed to datatyper

rm_extensions

should niftiExtensions be converted to simple nifti objects?

Value

nifti object