new epiviz.data.DataManager(config, dataProviderFactory)
data/data-manager.js, line 19
Name | Type | Description |
---|---|---|
config |
epiviz.Config | |
dataProviderFactory |
epiviz.data.DataProviderFactory |
Methods
-
_getDataNoCache(range, chartMeasurementsMap, dataReadyCallback)
data/data-manager.js, line 386TODO: Take care of computed measurements as well
. -
TODO: Take care of computed measurements as well
Name Type Description range
epiviz.datatypes.GenomicRange chartMeasurementsMap
Object.<string, epiviz.measurements.MeasurementSet> dataReadyCallback
function -
clearDatasourceGroupCache(datasourceGroup)
data/data-manager.js, line 660 -
Name Type Description datasourceGroup
string -
deleteWorkspace(workspace)
data/data-manager.js, line 607 -
Name Type Description workspace
epiviz.workspaces.Workspace -
flushCache()
data/data-manager.js, line 652Clears all data from cache
. -
Clears all data from cache
-
getData(range, chartMeasurementsMap, dataReadyCallback)
data/data-manager.js, line 372 -
Name Type Description range
epiviz.datatypes.GenomicRange chartMeasurementsMap
Object.<string, epiviz.measurements.MeasurementSet> dataReadyCallback
function -
getHierarchy(chartVisConfigSelectionMap, dataReadyCallback)
data/data-manager.js, line 483 -
Name Type Description chartVisConfigSelectionMap
Object.<string, epiviz.ui.controls.VisConfigSelection> dataReadyCallback
function -
getMeasurements(callback)
data/data-manager.js, line 316 -
Name Type Description callback
function -
getSeqInfos(callback)
data/data-manager.js, line 239 -
Name Type Description callback
function -
getWorkspaces(callback, filter, requestWorkspaceId)
data/data-manager.js, line 552 -
Name Type Description callback
function filter
string optional requestWorkspaceId
string optional -
onClearDatasourceGroupCache(){epiviz.events.Event.<{datasourceGroup: string}>}
data/data-manager.js, line 208 -
Returns:
Type Description epiviz.events.Event.<{datasourceGroup: string}> -
onFlushCache(){epiviz.events.Event}
data/data-manager.js, line 213 -
Returns:
Type Description epiviz.events.Event -
onRequestAddChart(){epiviz.events.Event.<{type: string, visConfigSelection: epiviz.ui.controls.VisConfigSelection, result: epiviz.events.EventResult.<{id: string}>}>}
data/data-manager.js, line 173 -
Returns:
Type Description epiviz.events.Event.<{type: string, visConfigSelection: epiviz.ui.controls.VisConfigSelection, result: epiviz.events.EventResult.<{id: string}>}> -
onRequestAddMeasurements(){epiviz.events.Event.<{measurements: epiviz.measurements.MeasurementSet, result: epiviz.events.EventResult}>}
data/data-manager.js, line 163 -
Returns:
Type Description epiviz.events.Event.<{measurements: epiviz.measurements.MeasurementSet, result: epiviz.events.EventResult}> -
onRequestAddSeqInfos(){epiviz.events.Event.<{seqInfos: Array.<epiviz.datatypes.SeqInfo>, result: epiviz.events.EventResult}>}
data/data-manager.js, line 188 -
Returns:
Type Description epiviz.events.Event.<{seqInfos: Array.<epiviz.datatypes.SeqInfo>, result: epiviz.events.EventResult}> -
onRequestCurrentLocation(){epiviz.events.Event.<{result: epiviz.events.EventResult}>}
data/data-manager.js, line 218 -
Returns:
Type Description epiviz.events.Event.<{result: epiviz.events.EventResult}> -
onRequestGetAvailableCharts(){epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}>}
data/data-manager.js, line 233 -
Returns:
Type Description epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}> -
onRequestGetChartSettings(){epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}>}
data/data-manager.js, line 223 -
Returns:
Type Description epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}> -
onRequestNavigate(){epiviz.events.Event.<{range: epiviz.datatypes.GenomicRange, result: epiviz.events.EventResult}>}
data/data-manager.js, line 198 -
Returns:
Type Description epiviz.events.Event.<{range: epiviz.datatypes.GenomicRange, result: epiviz.events.EventResult}> -
onRequestPrintWorkspace(){epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}>}
data/data-manager.js, line 183 -
Returns:
Type Description epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}> -
onRequestRedraw(){epiviz.events.Event.<{result: epiviz.events.EventResult}>}
data/data-manager.js, line 203 -
Returns:
Type Description epiviz.events.Event.<{result: epiviz.events.EventResult}> -
onRequestRemoveChart(){epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}>}
data/data-manager.js, line 178 -
Returns:
Type Description epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}> -
onRequestRemoveMeasurements(){epiviz.events.Event.<{measurements: epiviz.measurements.MeasurementSet, result: epiviz.events.EventResult}>}
data/data-manager.js, line 168 -
Returns:
Type Description epiviz.events.Event.<{measurements: epiviz.measurements.MeasurementSet, result: epiviz.events.EventResult}> -
onRequestRemoveSeqNames(){epiviz.events.Event.<{seqNames: Array.<string>, result: epiviz.events.EventResult}>}
data/data-manager.js, line 193 -
Returns:
Type Description epiviz.events.Event.<{seqNames: Array.<string>, result: epiviz.events.EventResult}> -
onRequestSetChartSettings(){epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}>}
data/data-manager.js, line 228 -
Returns:
Type Description epiviz.events.Event.<{id: string, result: epiviz.events.EventResult}> -
propagateHierarchyChanges(chartVisConfigSelectionMap, dataReadyCallback)
data/data-manager.js, line 508 -
Name Type Description chartVisConfigSelectionMap
Object.<string, epiviz.ui.controls.VisConfigSelection> dataReadyCallback
function -
saveWorkspace(workspace, config, callback)
data/data-manager.js, line 588 -
Name Type Description workspace
epiviz.workspaces.Workspace config
epiviz.Config callback
function -
search(callback, query)
data/data-manager.js, line 625 -
Name Type Description callback
function query
string -
updateChartSettings()
data/data-manager.js, line 285 -