Learn R Programming

neurobase (version 1.32.4)

readNIfTI2: 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 )

Value

nifti object

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?