Gene Expression Colormap

Returns a colormap for visualizing gene expression.
2,6K download
Aggiornato 9 dic 2004

Nessuna licenza

a simple function that returns a colormap, C, for visualizing gene expression. C is just a N x 3 matrix [R G B] describing the range of color values.

example usage:
C = exp_colormap('blue-yellow',64);
colormap(C);

called without any arguments, it returns a [3 x 64] green-red colormap.

options for 'colors' are:

'blue-yellow'
'green-red'
'yellow'

'N' represents the number of degrees of color to use. the default is 64.

generally speaking, the two-colored maps are appropriate for visualizing expression data which is normalized to a reference condition, e.g. to show whether expression is lower (blue or green) or higher (yellow or red) than the reference.

the single-color yellow map ('yellow') is appropriate for displaying levels of gene expression which are not compared (necessarily) to a single reference, and this is similar to the colormap used in the D-chip expression analysis software.

the colormaps returned range monotonically.

Cita come

Michael Driscoll (2025). Gene Expression Colormap (https://it.mathworks.com/matlabcentral/fileexchange/6481-gene-expression-colormap), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0