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

Description Usage Arguments Value Author(s)

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
checkmnc(file, ...)

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

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

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

ensure_mnc(file, ...)

Arguments

file

character or nifti object

...

options passed to checkimg

Value

Character filename of mnc image

Author(s)

John Muschelli muschellij2@gmail.com


freesurfer documentation built on Dec. 9, 2020, 1:07 a.m.