@weng-lab/genomebrowser 1.8.3-beta.0 → 1.8.4
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/components/tracks/methylC/defaultMethylCTooltip.d.ts +12 -1
- package/dist/components/tracks/methylC/helpers.d.ts +1 -1
- package/dist/components/tracks/methylC/split.d.ts +2 -2
- package/dist/components/tracks/methylC/types.d.ts +2 -0
- package/dist/genomebrowser.es.js +2579 -2542
- package/dist/genomebrowser.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { ValuedPoint } from '../bigwig/types';
|
|
2
|
-
export
|
|
2
|
+
export type MethylCShowRows = {
|
|
3
|
+
fwdCpg: boolean;
|
|
4
|
+
fwdChg: boolean;
|
|
5
|
+
fwdChh: boolean;
|
|
6
|
+
fwdDepth: boolean;
|
|
7
|
+
revCpg: boolean;
|
|
8
|
+
revChg: boolean;
|
|
9
|
+
revChh: boolean;
|
|
10
|
+
revDepth: boolean;
|
|
11
|
+
};
|
|
12
|
+
export default function DefaultMethylCTooltip({ tooltipValues, showRows, }: {
|
|
3
13
|
tooltipValues: ValuedPoint[];
|
|
14
|
+
showRows: MethylCShowRows;
|
|
4
15
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ValuedPoint, YRange } from '../bigwig/types';
|
|
2
|
-
export declare function generateSignal2(data: ValuedPoint[], height: number, color: string, inverted?: boolean, customRange?: YRange): {
|
|
2
|
+
export declare function generateSignal2(data: ValuedPoint[], height: number, color: string, inverted?: boolean, customRange?: YRange, coverageData?: ValuedPoint[], requireCoverage?: boolean): {
|
|
3
3
|
indicator: import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
values: import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
} | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { MethylCProps } from './types';
|
|
2
|
-
declare function SplitMethylC({ id, height, colors, data, dimensions, range, tooltip }: MethylCProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { MethylCProps, MethylCConfig } from './types';
|
|
2
|
+
declare function SplitMethylC({ id, height, maskCpgByCoverage, colors, data, dimensions, range, tooltip, urls, }: MethylCProps & Pick<MethylCConfig, "urls">): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SplitMethylC;
|
|
@@ -3,6 +3,7 @@ import { Config, DisplayMode, TrackDimensions, TrackType } from '../types';
|
|
|
3
3
|
export interface MethylCConfig extends Config<MethylData> {
|
|
4
4
|
trackType: TrackType.MethylC;
|
|
5
5
|
displayMode: DisplayMode.Split | DisplayMode.Combined;
|
|
6
|
+
maskCpgByCoverage?: boolean;
|
|
6
7
|
colors: {
|
|
7
8
|
cpg: string;
|
|
8
9
|
chg: string;
|
|
@@ -45,6 +46,7 @@ export type MethylData = ValuedPoint[];
|
|
|
45
46
|
export interface MethylCProps {
|
|
46
47
|
id: string;
|
|
47
48
|
height: number;
|
|
49
|
+
maskCpgByCoverage?: boolean;
|
|
48
50
|
colors: {
|
|
49
51
|
cpg: string;
|
|
50
52
|
chg: string;
|