@jbrowse/plugin-wiggle
Version:
JBrowse 2 wiggle adapters, tracks, etc.
21 lines (20 loc) • 644 B
TypeScript
import type { ScaleOpts } from './util';
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
import type { Feature, Region } from '@jbrowse/core/util';
export declare function drawLine(ctx: CanvasRenderingContext2D, props: {
features: Map<string, Feature> | Feature[];
regions: Region[];
bpPerPx: number;
scaleOpts: ScaleOpts;
height: number;
ticks: {
values: number[];
};
displayCrossHatches: boolean;
colorCallback: (f: Feature, score: number) => string;
config: AnyConfigurationModel;
offset?: number;
stopToken?: string;
}): {
reducedFeatures: Feature[];
};