newnii {neurobase}R Documentation

Resets image parameters for a copied nifti object

Description

Resets the slots of a nifti object, usually because an image was loaded, then copied and filled in with new data instead of making a nifti object from scratch. Just a wrapper for smaller functions

Usage

newnii(img, ...)

Arguments

img

nifti object (or character of filename)

...

arguments to be passed to datatype

Value

object of type nifti


[Package neurobase version 1.32.4 Index]