Package ubic.gemma.core.visualization
Class ExpressionDataHeatmap
java.lang.Object
ubic.gemma.core.visualization.ExpressionDataHeatmap
- All Implemented Interfaces:
Serializable
,Heatmap
Expression data heatmap for experiments and subsets.
There is also an implementation of this in JavaScript
- Author:
- poirigui
- See Also:
-
Field Summary
Fields inherited from interface ubic.gemma.core.visualization.Heatmap
GEMMA_PAINT_SCALE
-
Method Summary
Modifier and TypeMethodDescriptioncreateImage
(int cellSize) Render a heatmap image.static ExpressionDataHeatmap
fromDesignElements
(ExpressionExperiment ee, BioAssayDimension dimension, Slice<CompositeSequence> designElements, List<Gene> genes) Create a heatmap for a given set of design elements.static ExpressionDataHeatmap
fromDesignElements
(ExpressionExperimentSubSet subSet, BioAssayDimension dimension, Slice<CompositeSequence> designElements, List<Gene> genes) Create a heatmap for a subset using design elements.static ExpressionDataHeatmap
fromVectors
(ExpressionExperiment ee, BioAssayDimension dimension, Slice<? extends BulkExpressionDataVector> vectors, List<Gene> genes) Create a heatmap for a given set of vectors.static ExpressionDataHeatmap
fromVectors
(ExpressionExperimentSubSet subSet, BioAssayDimension dimension, Slice<? extends BulkExpressionDataVector> vectors, List<Gene> genes) Create a heatmap for a subset.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ubic.gemma.core.visualization.Heatmap
createImage, getCellSize, isTranspose
-
Method Details
-
fromVectors
public static ExpressionDataHeatmap fromVectors(ExpressionExperiment ee, BioAssayDimension dimension, Slice<? extends BulkExpressionDataVector> vectors, @Nullable List<Gene> genes) Create a heatmap for a given set of vectors.- Parameters:
ee
- experiment from which the data originatesdimension
- dimension to rendervectors
- vectors to displaygenes
- genes to display as row labels (must match the number of vectors)
-
fromVectors
public static ExpressionDataHeatmap fromVectors(ExpressionExperimentSubSet subSet, BioAssayDimension dimension, Slice<? extends BulkExpressionDataVector> vectors, @Nullable List<Gene> genes) Create a heatmap for a subset.- Parameters:
subSet
- subset from which the data originatesdimension
- dimension encompassing the subset, only the assays from the subset will be displayed- See Also:
-
fromDesignElements
public static ExpressionDataHeatmap fromDesignElements(ExpressionExperiment ee, BioAssayDimension dimension, Slice<CompositeSequence> designElements, @Nullable List<Gene> genes) Create a heatmap for a given set of design elements.in this mode, no image can be generated, but labels are available.
- See Also:
-
fromDesignElements
public static ExpressionDataHeatmap fromDesignElements(ExpressionExperimentSubSet subSet, BioAssayDimension dimension, Slice<CompositeSequence> designElements, @Nullable List<Gene> genes) Create a heatmap for a subset using design elements. Create a heatmap for a subset.- See Also:
-
createImage
Description copied from interface:Heatmap
Render a heatmap image.- Specified by:
createImage
in interfaceHeatmap
- Parameters:
cellSize
- size in pixel to use for individual cells in the heatmap
-
getXLabels
- Specified by:
getXLabels
in interfaceHeatmap
-
getYLabels
- Specified by:
getYLabels
in interfaceHeatmap
-