Description Usage Arguments Details Value Author(s) See Also Examples
As the minc2 API is only capable of reading minc2 volumes, this function converts a given volume to minc2 format, as required.
1 | rmincUtil.asMinc2(filename, keepName = TRUE)
|
filename |
minc1/minc2 filename to check/convert. |
keepName |
If |
If the passed file is already in minc2 format, nothing is done, and the original filename is returned. Iff a conversion is required, the conversion is done via a system call to mincconvert
– so, the minc programs need to be installed and on your path.
Either the original filename, or a new filename pointing to the newly converted minc2 volume.
Jim Nikelski nikelski@bic.mni.mcgill.ca
rmincUtil.isMinc1
rmincUtil.isMinc2
rmincUtil.isMinc
rmincUtil.isReadable
1 2 3 4 5 | ## Not run:
myVolume1 <- "happy_little_minc1_volume.mnc"
myVolume2 <- rmincUtil.asMinc2(myVolume1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.