tempimg: Create temporary nii.gz file

Description Usage Arguments Value

View source: R/tempimg.R

Description

Takes in a object of class nifti, writes it to a temp file, appends .nii.gz as writenii adds it.

Usage

1
2
3
4
5
6
7
8
9
tempimg(
  nim,
  gzipped = TRUE,
  checknan = TRUE,
  check_type = FALSE,
  warn = FALSE,
  drop_dim = TRUE,
  ...
)

Arguments

nim

object of class nifti

gzipped

Should file be gzipped? Passed to writenii

checknan

Check for NAs or NaNs

check_type

Check the datatype for an image. Will run datatyper.

warn

Should warnings be displayed if writenii has any? Passed to writenii.

drop_dim

Should drop_img_dim be applied?

...

Passed to writenii.

Value

filename of output nii.gz


neuroconductor-devel/neurobase documentation built on May 6, 2021, 1:48 p.m.