Show method for IndexLookupVol Objects
Source:R/index_vol.R
, R/neuroslice.R
, R/neurospace.R
, and 3 more
show-methods.Rd
Displays a formatted summary of a NeuroSlice
object's properties using
color-coded output for improved readability.
Provides a beautifully formatted display of a NeuroSpace object's properties, including dimensions, spacing, origin, and transformation information. Uses color coding and unicode characters for enhanced readability.
Usage
# S4 method for class 'IndexLookupVol'
show(object)
# S4 method for class 'NeuroSlice'
show(object)
# S4 method for class 'NeuroSpace'
show(object)
# S4 method for class 'DenseNeuroVec'
show(object)
# S4 method for class 'NeuroVecSeq'
show(object)
# S4 method for class 'NeuroVecSeq'
show(object)
# S4 method for class 'ROICoords'
show(object)
Details
Display NeuroSlice Information
Shows key properties including:
Object type and class
Dimensions and memory usage
Spatial properties (spacing, origin)
Value range and statistics
Axis orientations
Examples
slice <- NeuroSlice(matrix(1:100, 10, 10), NeuroSpace(c(10, 10)))
show(slice)
#>
#> === NeuroSlice Object ===
#>
#> * Basic Information
#> Type: NeuroSlice
#> Dimensions: 10 x 10 (5.9 Kb)
#>
#> * Data Properties
#> Value Range: [1.00, 100.00]
#>
#> * Spatial Properties
#> Spacing: 1.00 x 1.00
#> Origin: 0.00 x 0.00
#> Axes: Left-to-Right x Posterior-to-Anterior
#>
#> 28