Learn R Programming

neuroim (version 0.0.6)

imageGrid: imageGrid

Description

Display a set of images slices in a 2D montage

Usage

imageGrid(layer, gridDim = c(3, 3), zstart, zend, panelSize = 3, panelUnit = "inches", interpolate = FALSE, fontCol = "red")

Arguments

layer
the layer to display
gridDim
the dimensions of the 2D grid montage
zstart
the z coordinate of the first slice
zend
the z coordinate of the last slice
panelSize
the size of each panel in the montage (default unit is inches)
panelUnit
the unit for the panel size (default is inches)
interpolate
whether to interpolate pixel values
fontCol
color of labels indicating slice level