Description Usage Arguments Value Methods Author(s) See Also Examples
The print generic function is a polymorphous function that has been overloaded
to produce summary information for the full range of mincIO class objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | 
x | 
 The object to be summarized.  | 
... | 
 Other yet to be defined parameters.  | 
This function is run for its side-effect.
Print summary information for a MincInfo object.
Print summary information for a MincSlice object.
Print summary information for a MincSliceIO object.
Print summary information for a MincVolumeIO object.
Print summary information for a MincVoxelIO object.
Jim Nikelski nikelski@bic.mni.mcgill.ca
mincIO.printMincInfo plot-methods
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26  | ## 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")
}
# print all sorts of stuff
v305 <- file.path(volDir, "average305_PET_t1_tal_lin.mnc")
volInfo <- mincIO.readMincInfo(v305)            #
print(volInfo)                                  # print volume info
vol <- mincIO.readVolume(v305)                  #
print(vol)                                      # print volume info
# get a slice and print info
sx <- mincIO.getSliceX(vol, 60)                 #
print(sx)                                       # print slice info
# read slice 80 across all frames
v4d <- file.path(volDir, "functional_4D.mnc")
sliceMatrix <- mincIO.readBySlice(v4d, 80)      # load the slice matrix
print(sliceMatrix)                              # print summary info
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.