@sjcrh/proteinpaint-types 2.151.1-0 → 2.152.1-0
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/brainImaging.js +1 -1
- package/dist/{chunk-2WSENLMK.js → chunk-46YIGVUP.js} +44 -24
- package/dist/{chunk-TTUU5XQC.js → chunk-5F24QFE7.js} +471 -253
- package/dist/{chunk-KSVIBMFQ.js → chunk-5OMJAZK4.js} +323 -185
- package/dist/{chunk-WL7ZVGZS.js → chunk-C27KCAQH.js} +476 -302
- package/dist/{chunk-5MGSKBUU.js → chunk-CC32XCET.js} +950 -574
- package/dist/{chunk-OZ3CVAFP.js → chunk-EBPGV76U.js} +279 -157
- package/dist/{chunk-KQNLROUN.js → chunk-GZKTMVAU.js} +750 -410
- package/dist/{chunk-3SKFYOKV.js → chunk-JT4DSNJ3.js} +476 -302
- package/dist/{chunk-75GS5ZG5.js → chunk-LXW2FSLR.js} +526 -352
- package/dist/{chunk-RA7IEGS4.js → chunk-MCL6EDOS.js} +482 -308
- package/dist/{chunk-DBSRGRXR.js → chunk-OAETETAO.js} +279 -157
- package/dist/{chunk-4MLQS6N7.js → chunk-OLWNM7QP.js} +279 -157
- package/dist/{chunk-MMFL6N5M.js → chunk-OLXOQLZH.js} +279 -157
- package/dist/{chunk-MIOIOFBZ.js → chunk-TD4YLTHL.js} +17 -3
- package/dist/{chunk-4SJC57Y6.js → chunk-ZXPLL3NT.js} +476 -302
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +1 -1
- package/dist/gdc.maf.js +1 -1
- package/dist/index.js +15 -15
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +7 -280
- package/src/routes/gdc.grin2.ts +2 -2
- package/src/routes/gdc.maf.ts +3 -3
- package/src/terms/numeric.ts +17 -1
- package/src/terms/term.ts +5 -0
package/dist/gdc.grin2.js
CHANGED
package/dist/gdc.maf.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
termdbTopTermsByTypePayload,
|
|
8
8
|
validTermdbTopTermsByTypeRequest,
|
|
9
9
|
validTermdbTopTermsByTypeResponse
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GZKTMVAU.js";
|
|
11
11
|
import {
|
|
12
12
|
termdbTopVariablyExpressedGenesPayload,
|
|
13
13
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
14
14
|
validTermdbTopVariablyExpressedGenesResponse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EBPGV76U.js";
|
|
16
16
|
import {
|
|
17
17
|
validViolinRequest,
|
|
18
18
|
validViolinResponse,
|
|
19
19
|
violinPayload
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OLXOQLZH.js";
|
|
21
21
|
import {
|
|
22
22
|
tilePayload,
|
|
23
23
|
validTileRequest,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
termsByIdsPayload,
|
|
73
73
|
validTermsByIdsRequest,
|
|
74
74
|
validTermsByIdsResponse
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-C27KCAQH.js";
|
|
76
76
|
import {
|
|
77
77
|
termdbCohortsPayload,
|
|
78
78
|
validTermdbCohortsRequest,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
descrStatsPayload,
|
|
83
83
|
validDescrStatsRequest,
|
|
84
84
|
validDescrStatsResponse
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-ZXPLL3NT.js";
|
|
86
86
|
import {
|
|
87
87
|
FilterTermValuesPayload,
|
|
88
88
|
validFilterTermValuesRequest,
|
|
@@ -92,12 +92,12 @@ import {
|
|
|
92
92
|
numericCategoriesPayload,
|
|
93
93
|
validNumericCategoriesRequest,
|
|
94
94
|
validNumericCategoriesResponse
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-OLWNM7QP.js";
|
|
96
96
|
import {
|
|
97
97
|
percentilePayload,
|
|
98
98
|
validPercentileRequest,
|
|
99
99
|
validPercentileResponse
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-5F24QFE7.js";
|
|
101
101
|
import {
|
|
102
102
|
ProfileFormScoresPayload,
|
|
103
103
|
validProfileFormScoresRequest,
|
|
@@ -132,22 +132,22 @@ import {
|
|
|
132
132
|
boxplotPayload,
|
|
133
133
|
validBoxPlotRequest,
|
|
134
134
|
validBoxPlotResponse
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-JT4DSNJ3.js";
|
|
136
136
|
import {
|
|
137
137
|
termdbCategoriesPayload,
|
|
138
138
|
validCategoriesRequest,
|
|
139
139
|
validCategoriesResponse
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-MCL6EDOS.js";
|
|
141
141
|
import {
|
|
142
142
|
ChatPayload,
|
|
143
143
|
validChatRequest,
|
|
144
144
|
validChatResponse
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-OAETETAO.js";
|
|
146
146
|
import {
|
|
147
147
|
termdbClusterPayload,
|
|
148
148
|
validTermdbClusterRequest,
|
|
149
149
|
validTermdbClusterResponse
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-CC32XCET.js";
|
|
151
151
|
import {
|
|
152
152
|
termdbCohortSummaryPayload,
|
|
153
153
|
validTermdbCohortSummaryRequest,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
gdcMafPayload,
|
|
193
193
|
validGdcMafRequest,
|
|
194
194
|
validGdcMafResponse
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-TD4YLTHL.js";
|
|
196
196
|
import {
|
|
197
197
|
GdcMafPayload,
|
|
198
198
|
validGdcMafBuildRequest,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
CorrelationVolcanoPayload,
|
|
240
240
|
validCorrelationVolcanoRequest,
|
|
241
241
|
validCorrelationVolcanoResponse
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-LXW2FSLR.js";
|
|
243
243
|
import {
|
|
244
244
|
datasetPayload,
|
|
245
245
|
validDatasetRequest,
|
|
@@ -267,7 +267,7 @@ import {
|
|
|
267
267
|
validGdcGRIN2listResponse,
|
|
268
268
|
validRunGRIN2Request,
|
|
269
269
|
validRunGRIN2Response
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-46YIGVUP.js";
|
|
271
271
|
import {
|
|
272
272
|
aiProjectAdminPayload,
|
|
273
273
|
validAIProjectAdminRequest,
|
|
@@ -297,7 +297,7 @@ import {
|
|
|
297
297
|
brainImagingPayload,
|
|
298
298
|
validBrainImagingRequest,
|
|
299
299
|
validBrainImagingResponse
|
|
300
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-5OMJAZK4.js";
|
|
301
301
|
import {
|
|
302
302
|
brainImagingSamplesPayload,
|
|
303
303
|
validBrainImagingSamplesRequest,
|
package/dist/termdb.boxplot.js
CHANGED
package/dist/termdb.chat.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbTopVariablyExpressedGenesPayload,
|
|
3
3
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
4
4
|
validTermdbTopVariablyExpressedGenesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EBPGV76U.js";
|
|
6
6
|
import "./chunk-YNHC5SXO.js";
|
|
7
7
|
export {
|
|
8
8
|
termdbTopVariablyExpressedGenesPayload,
|
package/dist/termdb.violin.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -15,11 +15,6 @@ type KeyVal = {
|
|
|
15
15
|
v?: string
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
type KeyLabel = {
|
|
19
|
-
key: string
|
|
20
|
-
label: string
|
|
21
|
-
}
|
|
22
|
-
|
|
23
18
|
/** a set of categories about a vcf INFO field */
|
|
24
19
|
export type InfoFieldCategories = {
|
|
25
20
|
/** category key from an INFO field of a vcf file */
|
|
@@ -1062,7 +1057,7 @@ export type WSImages = {
|
|
|
1062
1057
|
/** ds supplied */
|
|
1063
1058
|
getAnnotationClasses?: (projectId: string) => Promise<WSIClass[] | undefined>
|
|
1064
1059
|
/** ds supplied */
|
|
1065
|
-
retrainModel?: (projectId: string) => Promise<void>
|
|
1060
|
+
retrainModel?: (projectId: string, wsimages: string[]) => Promise<void>
|
|
1066
1061
|
}
|
|
1067
1062
|
|
|
1068
1063
|
export type WSIClass = { id: number; key_shortcut: string; label: string; color: string }
|
|
@@ -1172,24 +1167,6 @@ type UiLabels = {
|
|
|
1172
1167
|
[propName: string]: string | { label: string; [otherAttr: string]: string }
|
|
1173
1168
|
}
|
|
1174
1169
|
|
|
1175
|
-
type SurvPlotsEntry = {
|
|
1176
|
-
name: string
|
|
1177
|
-
serialtimekey: string
|
|
1178
|
-
iscensoredkey: string
|
|
1179
|
-
timelabel: string
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
type SurvPlots = {
|
|
1183
|
-
[index: string]: SurvPlotsEntry
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
type sampleGroupAttrLstEntry = { key: string }
|
|
1187
|
-
|
|
1188
|
-
type SurvivalPlot = {
|
|
1189
|
-
plots: SurvPlots
|
|
1190
|
-
samplegroupattrlst: sampleGroupAttrLstEntry[]
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
1170
|
type TieBreakerFilterValuesEntry = {
|
|
1194
1171
|
dt: number
|
|
1195
1172
|
}
|
|
@@ -1778,257 +1755,6 @@ type Title = {
|
|
|
1778
1755
|
text: string
|
|
1779
1756
|
link?: string
|
|
1780
1757
|
}
|
|
1781
|
-
/*** types supporting MdsCohort type ***/
|
|
1782
|
-
type SampleAttribute = {
|
|
1783
|
-
attributes: Attributes
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
type HierarchiesLstEntry = {
|
|
1787
|
-
name: string
|
|
1788
|
-
levels: KeyLabelFull[]
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
type Hierarchies = {
|
|
1792
|
-
lst: HierarchiesLstEntry[]
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
|
-
type SetSamples = {
|
|
1796
|
-
file: string
|
|
1797
|
-
valuename: string
|
|
1798
|
-
skipzero: boolean
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
type SetSignatures = {
|
|
1802
|
-
[index: number]: { name: string; color: string }
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
type MutSigSets = {
|
|
1806
|
-
[index: string]: {
|
|
1807
|
-
name: string
|
|
1808
|
-
samples: SetSamples
|
|
1809
|
-
signatures: SetSignatures
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
type MutationSignature = {
|
|
1814
|
-
sets: MutSigSets
|
|
1815
|
-
}
|
|
1816
|
-
|
|
1817
|
-
type MdsCohort = {
|
|
1818
|
-
//Does not apply to Mds3 or genomes!
|
|
1819
|
-
files: FileObj[]
|
|
1820
|
-
samplenamekey: string
|
|
1821
|
-
tohash: (item: any, ds: any) => void //Fix later
|
|
1822
|
-
sampleAttribute?: SampleAttribute
|
|
1823
|
-
hierarchies?: Hierarchies
|
|
1824
|
-
survivalplot?: SurvivalPlot
|
|
1825
|
-
mutation_signature?: MutationSignature
|
|
1826
|
-
//scatterplot - skipping b/c codes to the old scatterplot, not mass
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
/*** types supporting MdsQueries type ***/
|
|
1830
|
-
type BaseTrack = {
|
|
1831
|
-
name?: string
|
|
1832
|
-
istrack?: boolean
|
|
1833
|
-
type?: string
|
|
1834
|
-
file?: string
|
|
1835
|
-
hideforthemoment?: number
|
|
1836
|
-
viewrangeupperlimit?: number
|
|
1837
|
-
}
|
|
1838
|
-
|
|
1839
|
-
type LegendVOrigin = {
|
|
1840
|
-
key: string
|
|
1841
|
-
somatic: string
|
|
1842
|
-
germline: string
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
type GroupSampleByAttr = {
|
|
1846
|
-
attrlst: KeyLabelFull[]
|
|
1847
|
-
sortgroupby?: {
|
|
1848
|
-
key: string
|
|
1849
|
-
order: string[]
|
|
1850
|
-
}
|
|
1851
|
-
attrnamespacer?: string
|
|
1852
|
-
}
|
|
1853
|
-
|
|
1854
|
-
type Svcnv = BaseTrack & {
|
|
1855
|
-
valueCutoff: number
|
|
1856
|
-
bplengthUpperLimit: number
|
|
1857
|
-
segmeanValueCutoff?: number
|
|
1858
|
-
no_loh?: number
|
|
1859
|
-
lohLengthUpperLimit?: number
|
|
1860
|
-
hideLOHwithCNVoverlap?: boolean
|
|
1861
|
-
vcf_querykey?: string
|
|
1862
|
-
expressionrank_querykey?: string
|
|
1863
|
-
multihidelabel_vcf: boolean
|
|
1864
|
-
multihidelabel_fusion?: boolean
|
|
1865
|
-
multihidelabel_sv: boolean
|
|
1866
|
-
legend_vorigin?: LegendVOrigin
|
|
1867
|
-
groupsamplebyattr?: GroupSampleByAttr
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
|
-
type KeyLabelFull = {
|
|
1871
|
-
/* Used in:
|
|
1872
|
-
queries.genefpkm.boxplotbysamplegroup.attributes
|
|
1873
|
-
cohort.hierarchies.lst[i].levels
|
|
1874
|
-
*/
|
|
1875
|
-
k: string
|
|
1876
|
-
label: string
|
|
1877
|
-
full?: string
|
|
1878
|
-
}
|
|
1879
|
-
|
|
1880
|
-
type ASE = {
|
|
1881
|
-
qvalue: number
|
|
1882
|
-
meandelta_monoallelic: number
|
|
1883
|
-
asemarkernumber_biallelic: number
|
|
1884
|
-
color_noinfo: string
|
|
1885
|
-
color_notsure: string
|
|
1886
|
-
color_biallelic: string
|
|
1887
|
-
color_monoallelic: string
|
|
1888
|
-
}
|
|
1889
|
-
|
|
1890
|
-
type GeneFpkmOutlier = {
|
|
1891
|
-
pvalue: number
|
|
1892
|
-
color: string
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
type BoxPlotAdditionalsEntry = {
|
|
1896
|
-
label: string
|
|
1897
|
-
attributes: KeyVal[]
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
|
-
type BoxPlotBySampleGroup = {
|
|
1901
|
-
attributes: KeyLabelFull[]
|
|
1902
|
-
additionals?: BoxPlotAdditionalsEntry[]
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
type Fpkm = BaseTrack & {
|
|
1906
|
-
datatype: string
|
|
1907
|
-
itemcolor: string
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
type GeneFpkm = Fpkm & {
|
|
1911
|
-
isgenenumeric: boolean
|
|
1912
|
-
boxplotbysamplegroup?: BoxPlotBySampleGroup
|
|
1913
|
-
ase?: ASE
|
|
1914
|
-
outlier?: GeneFpkmOutlier
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
type CutoffValueLstEntry = {
|
|
1918
|
-
/** '<' or '>' to add to the label */
|
|
1919
|
-
side: string
|
|
1920
|
-
value: number
|
|
1921
|
-
label: string
|
|
1922
|
-
}
|
|
1923
|
-
|
|
1924
|
-
type ValuePerSample = KeyLabel & {
|
|
1925
|
-
cutoffValueLst: CutoffValueLstEntry[]
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
type InfoFilterCatEntry = {
|
|
1929
|
-
label: string
|
|
1930
|
-
color: string
|
|
1931
|
-
valuePerSample?: ValuePerSample
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
type InfoFilterCat = {
|
|
1935
|
-
[index: string]: InfoFilterCatEntry
|
|
1936
|
-
}
|
|
1937
|
-
|
|
1938
|
-
type InfoFilterLstEntry = KeyLabel & {
|
|
1939
|
-
categories: InfoFilterCat
|
|
1940
|
-
hiddenCategories: { Unannotated: number }
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
type InfoFilter = {
|
|
1944
|
-
lst: InfoFilterLstEntry[]
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
type ReadCountBoxPlotPerCohort = {
|
|
1948
|
-
groups: KeyLabel[]
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
type SingleJunctionSummary = {
|
|
1952
|
-
readcountboxplotpercohort: ReadCountBoxPlotPerCohort
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
type Junction = BaseTrack & {
|
|
1956
|
-
readcountCutoff: number
|
|
1957
|
-
infoFilter: InfoFilter
|
|
1958
|
-
singlejunctionsummary: SingleJunctionSummary
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
|
-
type MdsSnvindel = BaseTrack & {
|
|
1962
|
-
tracks: BaseTrack[]
|
|
1963
|
-
singlesamples?: {
|
|
1964
|
-
tablefile: string
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
|
|
1968
|
-
type SomaticCnv = BaseTrack & {
|
|
1969
|
-
valueLabel: string
|
|
1970
|
-
valueCutoff: number
|
|
1971
|
-
bplengthUpperLimit: number
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
type Vcf = BaseTrack & {
|
|
1975
|
-
tracks: BaseTrack[]
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
type MdsQueries = {
|
|
1979
|
-
svcnv?: Svcnv
|
|
1980
|
-
genefpkm?: GeneFpkm
|
|
1981
|
-
junction?: Junction
|
|
1982
|
-
snvindel?: MdsSnvindel
|
|
1983
|
-
somaticcnv?: SomaticCnv
|
|
1984
|
-
vcf?: Vcf
|
|
1985
|
-
fpkm?: Fpkm
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
type AttrValues = {
|
|
1989
|
-
[index: string]: {
|
|
1990
|
-
name?: string
|
|
1991
|
-
label?: string
|
|
1992
|
-
color?: string
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
type AttributesEntry = {
|
|
1997
|
-
label: string
|
|
1998
|
-
values?: AttrValues
|
|
1999
|
-
hidden?: number
|
|
2000
|
-
filter?: number
|
|
2001
|
-
appendto_link?: string
|
|
2002
|
-
isfloat?: number | boolean
|
|
2003
|
-
isinteger?: number | boolean
|
|
2004
|
-
clientnoshow?: number
|
|
2005
|
-
showintrack?: boolean
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
type Attributes = {
|
|
2009
|
-
[index: string]: AttributesEntry
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
type MutationAttribute = {
|
|
2013
|
-
attributes: Attributes
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
type MutationTypesEntry = {
|
|
2017
|
-
db_col: string
|
|
2018
|
-
label?: string
|
|
2019
|
-
default: number
|
|
2020
|
-
sizecutoff?: string
|
|
2021
|
-
log2cutoff?: number
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
type Gene2MutCount = {
|
|
2025
|
-
dbfile: string
|
|
2026
|
-
mutationTypes: MutationTypesEntry[]
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
type LocusAttribute = {
|
|
2030
|
-
attributes: Attributes
|
|
2031
|
-
}
|
|
2032
1758
|
|
|
2033
1759
|
type ViewMode = {
|
|
2034
1760
|
byAttribute?: string
|
|
@@ -2043,17 +1769,18 @@ type BaseMds = {
|
|
|
2043
1769
|
}
|
|
2044
1770
|
|
|
2045
1771
|
export type Mds = BaseMds & {
|
|
1772
|
+
// replaced by mds3!!!
|
|
2046
1773
|
isMds: boolean
|
|
2047
1774
|
about?: KeyVal[]
|
|
2048
1775
|
sampleAssayTrack?: FileObj
|
|
2049
1776
|
singlesamplemutationjson?: FileObj
|
|
2050
|
-
cohort?:
|
|
2051
|
-
queries?:
|
|
2052
|
-
mutationAttribute?:
|
|
1777
|
+
cohort?: any
|
|
1778
|
+
queries?: any
|
|
1779
|
+
mutationAttribute?: any
|
|
2053
1780
|
dbFile?: string
|
|
2054
1781
|
version?: { label: string; link: string }
|
|
2055
|
-
gene2mutcount?:
|
|
2056
|
-
locusAttribute?:
|
|
1782
|
+
gene2mutcount?: any
|
|
1783
|
+
locusAttribute?: any
|
|
2057
1784
|
alleleAttribute?: {
|
|
2058
1785
|
attributes: {
|
|
2059
1786
|
[attrName: string]: {
|
package/src/routes/gdc.grin2.ts
CHANGED
package/src/routes/gdc.maf.ts
CHANGED
|
@@ -20,9 +20,9 @@ export type GdcMafFile = {
|
|
|
20
20
|
project_id: string
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
targeted
|
|
25
|
-
wxs
|
|
23
|
+
export type ExperimentalStrategy = {
|
|
24
|
+
targeted: 'Targeted Sequencing'
|
|
25
|
+
wxs: 'WXS'
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export type GdcMafRequest = {
|
package/src/terms/numeric.ts
CHANGED
|
@@ -108,14 +108,27 @@ export type RegularNumericBinConfig = MinBaseQ & {
|
|
|
108
108
|
// if last_bin?.start is set, then a fixed last bin is used; otherwise it's not fixed and computed from data
|
|
109
109
|
last_bin?: StopUnboundedBin | FullyBoundedBin
|
|
110
110
|
label_offset?: number
|
|
111
|
+
startinclusive?: boolean
|
|
112
|
+
stopinclusive?: boolean
|
|
113
|
+
/** a d3-format value to format the bin boundary values.
|
|
114
|
+
* Defaults to none, in which case the computed bin start and stop values
|
|
115
|
+
* (float numbers in javascript) will be used as-is for labels.
|
|
116
|
+
* Or, when using the browser UI to edit the numeric bin, the number of decimals
|
|
117
|
+
* in the bin_size will be used as the number of fixed decimals;
|
|
118
|
+
* for example, bin_size = 0.25 and bin_size = 0.250 will imply a ‘.2f’ and ‘.3f’ d3-format value, respectively.
|
|
119
|
+
* Note that the generated bin labels may use integer values in some cases for less clutter, such as when bins.size = 1.
|
|
120
|
+
* */
|
|
121
|
+
rounding?: string
|
|
111
122
|
}
|
|
112
123
|
|
|
124
|
+
export type CustomNumericBinConfigLst = [NumericBin, ...NumericBin[]]
|
|
125
|
+
|
|
113
126
|
export type CustomNumericBinConfig = MinBaseQ & {
|
|
114
127
|
type: 'custom-bin'
|
|
115
128
|
mode?: 'discrete' | 'binary'
|
|
116
129
|
// since ts will allow NumericBin[] to be empty,
|
|
117
130
|
// use this workaround to define a non-empty array
|
|
118
|
-
lst:
|
|
131
|
+
lst: CustomNumericBinConfigLst
|
|
119
132
|
preferredBins?: 'median'
|
|
120
133
|
}
|
|
121
134
|
|
|
@@ -142,6 +155,8 @@ export type BinaryNumericQ = MinBaseQ & {
|
|
|
142
155
|
type: 'custom-bin'
|
|
143
156
|
// tuple type with 2 members
|
|
144
157
|
lst: [StartUnboundedBin | FullyBoundedBin, StopUnboundedBin | FullyBoundedBin]
|
|
158
|
+
cutoffType?: 'normal' | 'percentile'
|
|
159
|
+
cutoffPercentile?: number
|
|
145
160
|
}
|
|
146
161
|
|
|
147
162
|
export type ContinuousNumericQ = MinBaseQ & {
|
|
@@ -154,6 +169,7 @@ export type ContinuousNumericQ = MinBaseQ & {
|
|
|
154
169
|
// making type optional here makes NumericQ operations/conditions
|
|
155
170
|
// work consistently within the TermWrapper union type
|
|
156
171
|
type?: undefined
|
|
172
|
+
scale?: number
|
|
157
173
|
}
|
|
158
174
|
|
|
159
175
|
export type SplineNumericQ = MinBaseQ & {
|
package/src/terms/term.ts
CHANGED
|
@@ -39,6 +39,11 @@ export type BaseTerm = {
|
|
|
39
39
|
/** Do not build .values{} when building termdb. Used for
|
|
40
40
|
making categorical term with empty .values{} in TermdbTest */
|
|
41
41
|
skipValuesBuild?: boolean
|
|
42
|
+
valueConversion?: {
|
|
43
|
+
fromUnit: string
|
|
44
|
+
toUnit: string
|
|
45
|
+
scaleFactor: string
|
|
46
|
+
}
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
// NumericTerm includes integer, float, date, geneExpression, metaboliteIntensity, and other non-dict terms
|