@weng-lab/genomebrowser 1.7.7 → 1.7.9
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/api/getBigWigData.d.ts +4 -0
- package/dist/components/tracks/bigwig/rework.d.ts +1 -1
- package/dist/components/tracks/bigwig/types.d.ts +3 -0
- package/dist/components/tracks/wrapper/margin.d.ts +1 -2
- package/dist/genomebrowser.es.js +5162 -5108
- package/dist/genomebrowser.es.js.map +1 -1
- package/dist/hooks/useTrackLayout.d.ts +9 -0
- package/dist/store/browserStore.d.ts +8 -0
- package/dist/store/trackStore.d.ts +4 -4
- package/package.json +1 -1
|
@@ -4,3 +4,7 @@ import { Domain } from '../utils/types';
|
|
|
4
4
|
export declare function getBigData(url: string, expandedDomain: Domain, preRenderedWidth?: number): Promise<TrackDataState>;
|
|
5
5
|
export declare function condensedZoomData(data: BigZoomData[], preRenderedWidth: number, start: number, end: number): Promise<any[]>;
|
|
6
6
|
export declare function ogBigDataFetcher(url: string, expandedDomain: Domain, preRenderedWidth: number, queries: any): Promise<TrackDataState>;
|
|
7
|
+
export declare function applyFillWithZero(data: {
|
|
8
|
+
min: number | null;
|
|
9
|
+
max: number | null;
|
|
10
|
+
}[] | null): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FullBigWigProps } from './types';
|
|
2
|
-
export default function ReworkBigWig({ data, customRange, id, height, color, dimensions, tooltip }: FullBigWigProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function ReworkBigWig({ data, customRange, id, height, color, dimensions, tooltip, fillWithZero, }: FullBigWigProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,6 +4,8 @@ export interface BigWigConfig extends Config<Data> {
|
|
|
4
4
|
url: string;
|
|
5
5
|
range?: YRange;
|
|
6
6
|
customRange?: YRange;
|
|
7
|
+
/** When true, fill gaps in data with 0 instead of null. Defaults to false. */
|
|
8
|
+
fillWithZero?: boolean;
|
|
7
9
|
}
|
|
8
10
|
interface BigWigProps {
|
|
9
11
|
id: string;
|
|
@@ -16,6 +18,7 @@ interface BigWigProps {
|
|
|
16
18
|
export interface FullBigWigProps extends BigWigProps {
|
|
17
19
|
range: YRange;
|
|
18
20
|
customRange?: YRange;
|
|
21
|
+
fillWithZero?: boolean;
|
|
19
22
|
}
|
|
20
23
|
export type DenseBigWigProps = BigWigProps;
|
|
21
24
|
export type YRange = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export default function Margin({
|
|
2
|
-
marginLabel: string;
|
|
1
|
+
export default function Margin({ id, height, color, swapping, onHover, onLeave, verticalMargin, }: {
|
|
3
2
|
id: string;
|
|
4
3
|
height: number;
|
|
5
4
|
color: string;
|