Class ExpressionDataHeatmap
java.lang.Object
ubic.gemma.core.visualization.ExpressionDataHeatmap
- All Implemented Interfaces:
Serializable, Heatmap
-
Field Summary
Fields inherited from interface Heatmap
GEMMA_PAINT_SCALE -
Method Summary
Modifier and TypeMethodDescriptioncreateImage(int cellSize) Render a heatmap image.static ExpressionDataHeatmapfromDesignElements(ExpressionExperiment ee, BioAssayDimension dimension, Slice<CompositeSequence> designElements, List<Gene> genes) Create a heatmap for a given set of design elements.static ExpressionDataHeatmapfromDesignElements(ExpressionExperimentSubSet subSet, BioAssayDimension dimension, Slice<CompositeSequence> designElements, List<Gene> genes) Create a heatmap for a subset using design elements.static ExpressionDataHeatmapfromVectors(ExpressionExperiment ee, BioAssayDimension dimension, Slice<? extends BulkExpressionDataVector> vectors, List<Gene> genes) Create a heatmap for a given set of vectors.static ExpressionDataHeatmapfromVectors(ExpressionExperimentSubSet subSet, BioAssayDimension dimension, Slice<? extends BulkExpressionDataVector> vectors, List<Gene> genes) Create a heatmap for a subset.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:HeatmapRender a heatmap image.- Specified by:
createImagein interfaceHeatmap- Parameters:
cellSize- size in pixel to use for individual cells in the heatmap
-
getXLabels
- Specified by:
getXLabelsin interfaceHeatmap
-
getYLabels
- Specified by:
getYLabelsin interfaceHeatmap
-