higlass
Version:
HiGlass Hi-C / genomic / large data viewer
51 lines (50 loc) • 1.96 kB
TypeScript
export default class HorizontalMultivecTrack extends HeatmapTiledPixiTrack {
updateDataFetcher(options: any): void;
selectRowsCumWeights: Float64Array<ArrayBufferLike> | undefined;
setSpriteProperties(sprite: any, zoomLevel: any, tilePos: any): void;
leftTrackZoomed(newXScale: any, newYScale: any, k: any, tx: any, ty: any): void;
zoomed(newXScale: any, newYScale: any, k: any, tx: any): void;
calculateZoomLevel(): number | undefined;
/**
* Create the local tile identifier, which be used with the
* tile stores in TiledPixiTrack
*
* @param {array} tile: [zoomLevel, xPos]
*/
tileToLocalId(tile: array): any;
/**
* Create the remote tile identifier, which will be used to identify the
* tile on the server
*
* @param {array} tile: [zoomLevel, xPos]
*/
tileToRemoteId(tile: array): any;
/**
* Calculate the tile position at the given track position
*
* @param {Number} trackX: The track's X position
* @param {Number} trackY: The track's Y position
*
* @return {array} [zoomLevel, tilePos]
*/
getTilePosAtPosition(trackX: number, trackY: number): array;
/**
* Return the data currently visible at position X and Y
*
* @param {Number} trackX: The x position relative to the track's start and end
* @param {Number} trakcY: The y position relative to the track's start and end
*/
getVisibleData(trackX: number, trackY: any): string;
/**
* Get some information to display when the mouse is over this
* track
*
* @param {Number} trackX: the x position of the mouse over the track
* @param {Number} trackY: the y position of the mouse over the track
*
* @return {string}: A HTML string containing the information to display
*
*/
getMouseOverHtml(trackX: number, trackY: number): string;
}
import HeatmapTiledPixiTrack from './HeatmapTiledPixiTrack';