@jbrowse/plugin-wiggle
Version:
JBrowse 2 wiggle adapters, tracks, etc.
19 lines (18 loc) • 568 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 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?: string;
}): {
reducedFeatures: Feature[];
};