UNPKG

@jbrowse/plugin-wiggle

Version:

JBrowse 2 wiggle adapters, tracks, etc.

24 lines (23 loc) 790 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 drawXY(ctx: CanvasRenderingContext2D, props: { features: Map<string, Feature> | Feature[]; bpPerPx: number; regions: Region[]; scaleOpts: ScaleOpts; height: number; ticks: { values: number[]; }; config: AnyConfigurationModel; displayCrossHatches: boolean; inverted: boolean; offset?: number; lastCheck?: LastStopTokenCheck; stopToken?: StopToken; colorCallback: (f: Feature, score: number) => string; }): { reducedFeatures: Feature[]; };