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

checkimg-methods

Force object to filename


Description

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

Usage

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 muschellij2@gmail.com


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.