readNIfTI2: readNIfTI with default non-reorientation

View source: R/readNIfTI2.R

readNIfTI2R Documentation

readNIfTI with default non-reorientation

Description

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

Usage

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


neurobase documentation built on Oct. 23, 2022, 5:05 p.m.