Properties:
Name | Type | Description |
---|---|---|
overlayUtils._drawRegions |
Bool
|
If false then disable the drawing of regions |
overlayUtils._d3nodes |
Object
|
Main group or container of all d3 svg groups of overlays corresponding to the 3 main marker data groups |
overlayUtils._percentageForSubsample |
Number
|
Take this percentage of each barcode when downsamplir for lower resolutions |
overlayUtils._zoomForSubsample |
Number
|
When the zoom is bigger than this, display all the checked genes |
- Source:
Methods
(static) addAllLayers()
This method is used to add all layers from tmapp
- Source:
(static) addAllLayersSettings()
This method is used to add all layer settings
- Source:
(static) addLayerFromSelect()
This method is used to add a layer from select input
- Source:
(static) addLayerSettings()
This method is used to add a layer
- Source:
(static) addLayerSlider()
This method is used to add a layer
- Source:
(static) getCanvasCtx()
Get the current canvas as a 2d context
- Source:
(static) getCanvasPNG()
Get the current canvas as a PNG image
- Source:
(static) modifyDisplayIfAny()
Main function to update the view if there has been a reason for it.
It computes all the elements that have to be drawn.
- Source:
(static) randomColor(colortype)
Get a random color in the desired format
- Source:
Parameters:
Name | Type | Description |
---|---|---|
colortype |
String
|
A string from [hex,hsl,rgb] |
(static) saveSVG()
Save the current SVG overlay to open in a vector graphics editor for a figure for example
- Source:
(static) setItemOpacity(item)
Set the opacity of a tile source
- Source:
Parameters:
Name | Type | Description |
---|---|---|
item |
Number
|
Index of an OSD tile source |
(static) setLayerOpacity(layerName, opacity)
Set the opacity of a tile source
- Source:
Parameters:
Name | Type | Description |
---|---|---|
layerName |
String
|
name of an existing d3 node |
opacity |
Number
|
desired opacity |