@jbrowse/plugin-wiggle 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BigWigAdapter/BigWigAdapter.d.ts +24 -24
- package/dist/BigWigAdapter/configSchema.d.ts +2 -2
- package/dist/BigWigAdapter/index.d.ts +1 -1
- package/dist/DensityRenderer/index.d.ts +6 -6
- package/dist/LinePlotRenderer/LinePlotRenderer.d.ts +4 -9
- package/dist/LinePlotRenderer/configSchema.d.ts +2 -2
- package/dist/LinePlotRenderer/index.d.ts +3 -3
- package/dist/LinearWiggleDisplay/components/SetColorDialog.d.ts +10 -10
- package/dist/LinearWiggleDisplay/components/SetMinMaxDialog.d.ts +11 -11
- package/dist/LinearWiggleDisplay/components/Tooltip.d.ts +24 -24
- package/dist/LinearWiggleDisplay/components/WiggleDisplayComponent.d.ts +8 -8
- package/dist/LinearWiggleDisplay/components/YScaleBar.d.ts +7 -7
- package/dist/LinearWiggleDisplay/index.d.ts +3 -3
- package/dist/LinearWiggleDisplay/models/configSchema.d.ts +2 -2
- package/dist/LinearWiggleDisplay/models/model.d.ts +288 -288
- package/dist/WiggleBaseRenderer.d.ts +44 -42
- package/dist/WiggleRPC/rpcMethods.d.ts +31 -31
- package/dist/WiggleRendering.d.ts +16 -16
- package/dist/XYPlotRenderer/XYPlotRenderer.d.ts +4 -4
- package/dist/XYPlotRenderer/index.d.ts +3 -3
- package/dist/configSchema.d.ts +2 -2
- package/dist/index.d.ts +866 -866
- package/dist/util.d.ts +41 -41
- package/package.json +3 -2
- package/dist/DensityRenderer/DensityRenderer.test.d.ts +0 -1
- package/dist/WiggleRendering.test.d.ts +0 -1
- package/dist/XYPlotRenderer/XYPlotRenderer.test.d.ts +0 -1
- package/dist/index.test.d.ts +0 -1
- package/dist/plugin-wiggle.cjs.development.js +0 -3556
- package/dist/plugin-wiggle.cjs.development.js.map +0 -1
- package/dist/plugin-wiggle.cjs.production.min.js +0 -2
- package/dist/plugin-wiggle.cjs.production.min.js.map +0 -1
- package/dist/plugin-wiggle.esm.js +0 -3541
- package/dist/plugin-wiggle.esm.js.map +0 -1
- package/dist/util.test.d.ts +0 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
-
import { AugmentedRegion as Region } from '@jbrowse/core/util/types';
|
|
3
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
4
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema';
|
|
5
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
6
|
-
import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
|
|
7
|
-
interface WiggleOptions extends BaseOptions {
|
|
8
|
-
resolution?: number;
|
|
9
|
-
}
|
|
10
|
-
export default class BigWigAdapter extends BaseFeatureDataAdapter {
|
|
11
|
-
private bigwig;
|
|
12
|
-
static capabilities: string[];
|
|
13
|
-
constructor(config: AnyConfigurationModel, getSubAdapter?: getSubAdapterType, pluginManager?: PluginManager);
|
|
14
|
-
private setup;
|
|
15
|
-
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
16
|
-
refIdToName(refId: number): Promise<any>;
|
|
17
|
-
getGlobalStats(opts?: BaseOptions): Promise<import("@jbrowse/core/util/stats").FeatureStats>;
|
|
18
|
-
getFeatures(region: Region, opts?: WiggleOptions): import("rxjs").Observable<Feature>;
|
|
19
|
-
estimateRegionsStats(_regions: Region[]): Promise<{
|
|
20
|
-
featureDensity: number;
|
|
21
|
-
}>;
|
|
22
|
-
freeResources(): void;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
1
|
+
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
+
import { AugmentedRegion as Region } from '@jbrowse/core/util/types';
|
|
3
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
4
|
+
import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema';
|
|
5
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
6
|
+
import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
|
|
7
|
+
interface WiggleOptions extends BaseOptions {
|
|
8
|
+
resolution?: number;
|
|
9
|
+
}
|
|
10
|
+
export default class BigWigAdapter extends BaseFeatureDataAdapter {
|
|
11
|
+
private bigwig;
|
|
12
|
+
static capabilities: string[];
|
|
13
|
+
constructor(config: AnyConfigurationModel, getSubAdapter?: getSubAdapterType, pluginManager?: PluginManager);
|
|
14
|
+
private setup;
|
|
15
|
+
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
16
|
+
refIdToName(refId: number): Promise<any>;
|
|
17
|
+
getGlobalStats(opts?: BaseOptions): Promise<import("@jbrowse/core/util/stats").FeatureStats>;
|
|
18
|
+
getFeatures(region: Region, opts?: WiggleOptions): import("rxjs").Observable<Feature>;
|
|
19
|
+
estimateRegionsStats(_regions: Region[]): Promise<{
|
|
20
|
+
featureDensity: number;
|
|
21
|
+
}>;
|
|
22
|
+
freeResources(): void;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as configSchema } from './configSchema';
|
|
1
|
+
export { default as configSchema } from './configSchema';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import WiggleBaseRenderer, { RenderArgsDeserializedWithFeatures } from '../WiggleBaseRenderer';
|
|
2
|
-
export { default as ReactComponent } from '../WiggleRendering';
|
|
3
|
-
export default class DensityRenderer extends WiggleBaseRenderer {
|
|
4
|
-
draw(ctx: CanvasRenderingContext2D, props: RenderArgsDeserializedWithFeatures): void;
|
|
5
|
-
}
|
|
6
|
-
export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
1
|
+
import WiggleBaseRenderer, { RenderArgsDeserializedWithFeatures } from '../WiggleBaseRenderer';
|
|
2
|
+
export { default as ReactComponent } from '../WiggleRendering';
|
|
3
|
+
export default class DensityRenderer extends WiggleBaseRenderer {
|
|
4
|
+
draw(ctx: CanvasRenderingContext2D, props: RenderArgsDeserializedWithFeatures): void;
|
|
5
|
+
}
|
|
6
|
+
export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
export default class LinePlotRenderer extends WiggleBaseRenderer {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
6
|
-
pluginManager: import("@jbrowse/core/PluginManager").default;
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
import WiggleBaseRenderer from "../WiggleBaseRenderer";
|
|
1
|
+
export default class LinePlotRenderer extends WiggleBaseRenderer {
|
|
2
|
+
draw(ctx: any, props: any): void;
|
|
3
|
+
}
|
|
4
|
+
import WiggleBaseRenderer from "../WiggleBaseRenderer";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare var _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare var _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as ReactComponent } from "../WiggleRendering";
|
|
2
|
-
export { default } from "./LinePlotRenderer";
|
|
3
|
-
export const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
1
|
+
export { default as ReactComponent } from "../WiggleRendering";
|
|
2
|
+
export { default } from "./LinePlotRenderer";
|
|
3
|
+
export const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export default function SetColorDialog({ model, handleClose, }: {
|
|
3
|
-
model: {
|
|
4
|
-
color: number;
|
|
5
|
-
setColor: (arg?: string) => void;
|
|
6
|
-
setPosColor: (arg?: string) => void;
|
|
7
|
-
setNegColor: (arg?: string) => void;
|
|
8
|
-
};
|
|
9
|
-
handleClose: () => void;
|
|
10
|
-
}): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function SetColorDialog({ model, handleClose, }: {
|
|
3
|
+
model: {
|
|
4
|
+
color: number;
|
|
5
|
+
setColor: (arg?: string) => void;
|
|
6
|
+
setPosColor: (arg?: string) => void;
|
|
7
|
+
setNegColor: (arg?: string) => void;
|
|
8
|
+
};
|
|
9
|
+
handleClose: () => void;
|
|
10
|
+
}): JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export default function SetMinMaxDlg(props: {
|
|
3
|
-
model: {
|
|
4
|
-
minScore: number;
|
|
5
|
-
maxScore: number;
|
|
6
|
-
scaleType: string;
|
|
7
|
-
setMinScore: Function;
|
|
8
|
-
setMaxScore: Function;
|
|
9
|
-
};
|
|
10
|
-
handleClose: () => void;
|
|
11
|
-
}): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function SetMinMaxDlg(props: {
|
|
3
|
+
model: {
|
|
4
|
+
minScore: number;
|
|
5
|
+
maxScore: number;
|
|
6
|
+
scaleType: string;
|
|
7
|
+
setMinScore: Function;
|
|
8
|
+
setMaxScore: Function;
|
|
9
|
+
};
|
|
10
|
+
handleClose: () => void;
|
|
11
|
+
}): JSX.Element;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
3
|
-
declare type Coord = [number, number];
|
|
4
|
-
declare const Tooltip: ({ model, height, clientMouseCoord, offsetMouseCoord, clientRect, TooltipContents, }: {
|
|
5
|
-
model: {
|
|
6
|
-
featureUnderMouse: Feature;
|
|
7
|
-
};
|
|
8
|
-
height: number;
|
|
9
|
-
clientMouseCoord: Coord;
|
|
10
|
-
offsetMouseCoord: Coord;
|
|
11
|
-
clientRect?: DOMRect | undefined;
|
|
12
|
-
TooltipContents: React.FC<any>;
|
|
13
|
-
}) => JSX.Element | null;
|
|
14
|
-
declare const WiggleTooltip: (props: {
|
|
15
|
-
model: {
|
|
16
|
-
featureUnderMouse: Feature;
|
|
17
|
-
};
|
|
18
|
-
height: number;
|
|
19
|
-
offsetMouseCoord: Coord;
|
|
20
|
-
clientMouseCoord: Coord;
|
|
21
|
-
clientRect?: DOMRect;
|
|
22
|
-
}) => JSX.Element;
|
|
23
|
-
export default WiggleTooltip;
|
|
24
|
-
export { Tooltip };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
3
|
+
declare type Coord = [number, number];
|
|
4
|
+
declare const Tooltip: ({ model, height, clientMouseCoord, offsetMouseCoord, clientRect, TooltipContents, }: {
|
|
5
|
+
model: {
|
|
6
|
+
featureUnderMouse: Feature;
|
|
7
|
+
};
|
|
8
|
+
height: number;
|
|
9
|
+
clientMouseCoord: Coord;
|
|
10
|
+
offsetMouseCoord: Coord;
|
|
11
|
+
clientRect?: DOMRect | undefined;
|
|
12
|
+
TooltipContents: React.FC<any>;
|
|
13
|
+
}) => JSX.Element | null;
|
|
14
|
+
declare const WiggleTooltip: (props: {
|
|
15
|
+
model: {
|
|
16
|
+
featureUnderMouse: Feature;
|
|
17
|
+
};
|
|
18
|
+
height: number;
|
|
19
|
+
offsetMouseCoord: Coord;
|
|
20
|
+
clientMouseCoord: Coord;
|
|
21
|
+
clientRect?: DOMRect;
|
|
22
|
+
}) => JSX.Element;
|
|
23
|
+
export default WiggleTooltip;
|
|
24
|
+
export { Tooltip };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { WiggleDisplayModel } from '../models/model';
|
|
3
|
-
import YScaleBar from './YScaleBar';
|
|
4
|
-
declare const LinearWiggleDisplay: (props: {
|
|
5
|
-
model: WiggleDisplayModel;
|
|
6
|
-
}) => JSX.Element;
|
|
7
|
-
export default LinearWiggleDisplay;
|
|
8
|
-
export { YScaleBar };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WiggleDisplayModel } from '../models/model';
|
|
3
|
+
import YScaleBar from './YScaleBar';
|
|
4
|
+
declare const LinearWiggleDisplay: (props: {
|
|
5
|
+
model: WiggleDisplayModel;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
export default LinearWiggleDisplay;
|
|
8
|
+
export { YScaleBar };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { WiggleDisplayModel } from '../models/model';
|
|
3
|
-
declare const YScaleBar: ({ model, orientation, }: {
|
|
4
|
-
model: WiggleDisplayModel;
|
|
5
|
-
orientation?: string | undefined;
|
|
6
|
-
}) => JSX.Element | null;
|
|
7
|
-
export default YScaleBar;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WiggleDisplayModel } from '../models/model';
|
|
3
|
+
declare const YScaleBar: ({ model, orientation, }: {
|
|
4
|
+
model: WiggleDisplayModel;
|
|
5
|
+
orientation?: string | undefined;
|
|
6
|
+
}) => JSX.Element | null;
|
|
7
|
+
export default YScaleBar;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as configSchemaFactory } from './models/configSchema';
|
|
2
|
-
export { default as modelFactory, YSCALEBAR_LABEL_OFFSET } from './models/model';
|
|
3
|
-
export { default as ReactComponent } from './components/WiggleDisplayComponent';
|
|
1
|
+
export { default as configSchemaFactory } from './models/configSchema';
|
|
2
|
+
export { default as modelFactory, YSCALEBAR_LABEL_OFFSET } from './models/model';
|
|
3
|
+
export { default as ReactComponent } from './components/WiggleDisplayComponent';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
1
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|