@weng-lab/genomebrowser 1.7.4 → 1.7.6
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/transcript/helper.d.ts +2 -0
- package/dist/components/tracks/transcript/pack.d.ts +1 -1
- package/dist/components/tracks/transcript/squish.d.ts +1 -1
- package/dist/components/tracks/transcript/types.d.ts +1 -2
- package/dist/genomebrowser.es.js +4429 -4418
- package/dist/genomebrowser.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export interface GenomicElement {
|
|
|
5
5
|
end: number;
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
|
+
export declare function isManeSelectTranscript(tag: string | undefined | null): boolean;
|
|
8
9
|
export declare function mergeTranscripts(gene: TranscriptList): Transcript;
|
|
9
10
|
export declare function mergeUTRs(utrs: GenomicElement[]): GenomicElement[];
|
|
10
11
|
export declare function renderTranscript(uTranscript: Transcript, x: (value: number) => number, rowHeight: number, width: number): RenderedTranscript;
|
|
@@ -22,4 +23,5 @@ export declare const getRealTranscript: (transcript: Transcript, reverseX: (valu
|
|
|
22
23
|
strand: string;
|
|
23
24
|
exons?: Exon[];
|
|
24
25
|
color?: string;
|
|
26
|
+
tag?: string;
|
|
25
27
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PackTranscriptProps } from './types';
|
|
2
|
-
export default function PackTranscript({ id, data, geneName, height, dimensions, color,
|
|
2
|
+
export default function PackTranscript({ id, data, geneName, height, dimensions, color, canonicalColor, highlightColor, onClick, onHover, onLeave, tooltip, }: PackTranscriptProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SquishTranscriptProps } from './types';
|
|
2
2
|
export declare function bestFontSize(height: number): number;
|
|
3
|
-
export default function SquishTranscript({ id, data, geneName, height, dimensions, color,
|
|
3
|
+
export default function SquishTranscript({ id, data, geneName, height, dimensions, color, canonicalColor, highlightColor, onClick, onHover, onLeave, tooltip, }: SquishTranscriptProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,7 +7,6 @@ export interface TranscriptConfig extends Config<Transcript> {
|
|
|
7
7
|
version: number;
|
|
8
8
|
refetch?: LazyQueryExecFunction<any, OperationVariables>;
|
|
9
9
|
geneName?: string;
|
|
10
|
-
canonicalName?: string;
|
|
11
10
|
canonicalColor?: string;
|
|
12
11
|
highlightColor?: string;
|
|
13
12
|
}
|
|
@@ -17,7 +16,6 @@ interface TranscriptProps {
|
|
|
17
16
|
dimensions: TrackDimensions;
|
|
18
17
|
height: number;
|
|
19
18
|
color: string;
|
|
20
|
-
canonicalName?: string;
|
|
21
19
|
canonicalColor?: string;
|
|
22
20
|
highlightColor?: string;
|
|
23
21
|
onClick?: (transcript: Transcript) => void;
|
|
@@ -38,6 +36,7 @@ export interface Transcript {
|
|
|
38
36
|
strand: string;
|
|
39
37
|
exons?: Exon[];
|
|
40
38
|
color?: string;
|
|
39
|
+
tag?: string;
|
|
41
40
|
}
|
|
42
41
|
export interface TranscriptList {
|
|
43
42
|
transcripts: Transcript[];
|