checkimg-methods: Force object to filename

Description Usage Arguments Value Author(s)

Description

Ensures the output to be a character filename (or vector) from an input image or nifti.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
checkimg(file, allow_array = FALSE, ...)

## S4 method for signature 'nifti'
checkimg(file, allow_array = FALSE, ...)

## S4 method for signature 'ANY'
checkimg(file, allow_array = FALSE, ...)

## S4 method for signature 'character'
checkimg(file, allow_array = FALSE, ...)

## S4 method for signature 'list'
checkimg(file, allow_array = FALSE, ...)

Arguments

file

character or nifti object

allow_array

allow arrays to be passed in

...

options passed to tempimg

Value

character filename of image or temporary nii, with .nii extension

Author(s)

John Muschelli [email protected]


neuroconductor-devel-releases/neurobase documentation built on Feb. 14, 2020, 1:29 p.m.