Learn R Programming

freesurfer (version 1.6.10)

checkmnc-methods: Force object to filename with .mnc extension

Description

Ensures the output to be a character filename (or vector) from an input image or nifti to have .mnc extension and be converted to MNC when necessary

Usage

checkmnc(file, ...)

# S4 method for nifti checkmnc(file, ...)

# S4 method for character checkmnc(file, ...)

# S4 method for list checkmnc(file, ...)

ensure_mnc(file, ...)

Value

Character filename of mnc image

Arguments

file

character or nifti object

...

options passed to checkimg

Author

John Muschelli muschellij2@gmail.com