mincIO.readMincInfo: Initialize a MincInfo Object from a Valid Minc Volume

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/mincInfo_class.R

Description

This function is the primary method used for the initialization of the omnipresent MincInfo object.

Usage

1

Arguments

filename

A valid Minc volume name. Minc1 volumes are auto-magically converted to Minc2. Now, that's service.

Details

Auto-conversion from Minc1 to Minc2. Specifying a non-mincy volume will cause toads to rain toads from the heavens.

Value

An instantiated MincInfo object.

Author(s)

Jim Nikelski nikelski@bic.mni.mcgill.ca

See Also

MincInfo

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
\dontshow{
# clear debug flag and get full volume pathname
# ... dunno why zzz.R debug setting is not passed
    R_DEBUG_rmincIO <- 0      
    volDir <- system.file("packageData/volumes", package="rmincIO")
}
# get information for the 305 volume
v305PET <- file.path(volDir, "average305_PET_t1_tal_lin.mnc")
vol <- mincIO.readMincInfo(v305PET)     # read the volume info
print(vol)                              # print summary info

## End(Not run)

jnikelski/rmincIO documentation built on May 19, 2019, 2:58 p.m.