Package ubic.gemma.core.visualization
Class SingleCellSparsityHeatmap
java.lang.Object
ubic.gemma.core.visualization.SingleCellSparsityHeatmap
- All Implemented Interfaces:
Serializable
,Heatmap
Heatmap that displays the sparsity of single-cell data.
- Author:
- poirigui
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface ubic.gemma.core.visualization.Heatmap
GEMMA_PAINT_SCALE
-
Constructor Summary
ConstructorsConstructorDescriptionSingleCellSparsityHeatmap
(ExpressionExperiment expressionExperiment, SingleCellDimension singleCellDimension, BioAssayDimension dimension, Collection<ExpressionExperimentSubSet> subSets, Map<BioAssay, Long> designElementsPerSample, SingleCellSparsityHeatmap.SingleCellHeatmapType type) -
Method Summary
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
-
Constructor Details
-
SingleCellSparsityHeatmap
public SingleCellSparsityHeatmap(ExpressionExperiment expressionExperiment, SingleCellDimension singleCellDimension, BioAssayDimension dimension, Collection<ExpressionExperimentSubSet> subSets, @Nullable Map<BioAssay, Long> designElementsPerSample, @Nullable SingleCellSparsityHeatmap.SingleCellHeatmapType type) - Parameters:
expressionExperiment
- an experiment containing single-cell datasingleCellDimension
- a single cell dimensiondimension
- a regular dimension for aggregated datasubSets
- a set of subsets containing aggregated datadesignElementsPerSample
- the number of design elements for the platform of each sampletype
- the type of heatmap to generate
-
-
Method Details
-
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
-
createAggregateImage
-
getXLabels
- Specified by:
getXLabels
in interfaceHeatmap
-
getYLabels
- Specified by:
getYLabels
in interfaceHeatmap
-