Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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
)

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

'Neuroconductor' Base Package with Helper Functions for 'nifti' Objects

v1.32.1
GPL-2
Authors
John Muschelli [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.