Can be used in combination with layout and image.statMap to create figures.

colorBar(
  lut,
  min,
  max = -min,
  nticks = 11,
  ticks = seq(min, max, len = nticks),
  title = ""
)

Arguments

lut

the range of colors to display

min

Where to put the minimum tick mark.

max

Where to put the maximum tick mark.

nticks

Number of ticks on the color bar.

ticks

Locations for ticks.

title

The title for the color bar

ylab

label for the color bar.

las

argument passed to par.

Value

a niftiImage object of the coefficient image

Details

Returns a statistical niftiImage object from a statMap object