Class: GenesTrack

GenesTrack

new epiviz.plugins.charts.GenesTrack(id, container, properties)

plugins/charts/genes-track.js, line 16
Name Type Description
id string
container jQuery
properties epiviz.ui.charts.VisualizationProperties

Extends

Members

protected_background*

D3 rectangle in the SVG

.

D3 rectangle in the SVG

protected,nullable_binSizenumber

Used for mouse highlighting by location

.

Used for mouse highlighting by location

protected_globalIndexColorLabelsObject.<number, string>

protected_highlightGroup*

D3 group in the SVG used for adding hover/selection elements

.

D3 group in the SVG used for adding hover/selection elements

protected_measurementColorLabelsepiviz.measurements.MeasurementHashtable.<string>

protected_nBinsnumber

Constant used for mouse highlighting by location

.

Constant used for mouse highlighting by location

Methods

inherited protected_addFilters()

ui/charts/chart.js, line 68

Deprecated method, kept for future reference

.

Deprecated method, kept for future reference

Deprecated
  • Yes

inherited protected_captureMouseHover()

ui/charts/track.js, line 150

protected_drawAxes(xScale, yScale, xTicks, yTicks, svg, width, height, margins)

plugins/charts/genes-track.js, line 298
Name Type Description
xScale

D3 linear scale for the x axis

yScale

D3 linear scale for the y axis

xTicks number optional
yTicks number optional
svg optional

D3 svg container for the axes

width number optional
height number optional
margins epiviz.ui.charts.Margins optional

protected_initialize()

plugins/charts/genes-track.js, line 32

colorLabels(){Array.<{name: string, color: string}>}

plugins/charts/genes-track.js, line 283
Returns:
Type Description
Array.<{name: string, color: string}>

inherited displayType(){epiviz.ui.charts.VisualizationType.DisplayType}

ui/charts/track.js, line 91
Returns:
Type Description
epiviz.ui.charts.VisualizationType.DisplayType

inherited doHover(selectedObject)

ui/charts/track.js, line 96
Name Type Description
selectedObject epiviz.ui.charts.ChartObject

inherited doUnhover()

ui/charts/track.js, line 141

draw(range, data, slide, zoom){Array.<epiviz.ui.charts.ChartObject>}

plugins/charts/genes-track.js, line 46
Name Type Description
range epiviz.datatypes.GenomicRange optional
data epiviz.datatypes.GenomicData optional
slide number optional
zoom number optional
Returns:
Type Description
Array.<epiviz.ui.charts.ChartObject> The objects drawn

inherited properties(){epiviz.ui.charts.VisualizationProperties}

ui/charts/chart.js, line 284
Returns:
Type Description
epiviz.ui.charts.VisualizationProperties

inherited transformData(range, data){epiviz.deferred.Deferred}

ui/charts/chart.js, line 151
Name Type Description
range epiviz.datatypes.GenomicRange
data epiviz.datatypes.GenomicData
Returns:
Type Description
epiviz.deferred.Deferred
comments powered by Disqus