Gene Expression Colormap
No License
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.
Cite As
Michael Driscoll (2024). Gene Expression Colormap (https://www.mathworks.com/matlabcentral/fileexchange/6481-gene-expression-colormap), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Industries > Biotech and Pharmaceutical > Genomics and Next Generation Sequencing >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Red >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Green >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |