mapToColors {neuroim}R Documentation

mapToColors

Description

map an matrix of intensity values to a matrix of color values.

Usage

mapToColors(imslice, col = heat.colors(128, alpha = 1),
  zero.col = "#00000000", alpha = 1)

Arguments

imslice

an image matrix defining intensity values

col

a color map

zero.col

the background color.

alpha

transparency multiplier


[Package neuroim version 0.0.6 Index]