UNPKG

@jbrowse/plugin-wiggle

Version:

JBrowse 2 wiggle adapters, tracks, etc.

21 lines (20 loc) 693 B
import type { ScaleOpts } from './util.ts'; import type { AnyConfigurationModel } from '@jbrowse/core/configuration'; import type { Feature, Region } from '@jbrowse/core/util'; import type { LastStopTokenCheck, StopToken } from '@jbrowse/core/util/stopToken'; export declare function drawDensity(ctx: CanvasRenderingContext2D, props: { features: Map<string, Feature> | Feature[]; regions: Region[]; bpPerPx: number; scaleOpts: ScaleOpts; height: number; ticks: { values: number[]; }; displayCrossHatches: boolean; config: AnyConfigurationModel; stopToken?: StopToken; lastCheck?: LastStopTokenCheck; }): { reducedFeatures: Feature[]; };