@sjcrh/proteinpaint-types 2.112.1-0 → 2.113.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/{chunk-NPVDG36X.js → chunk-OJWYCYKF.js} +364 -342
- package/dist/index.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +14 -11
- package/src/routes/termdb.DE.ts +4 -0
- package/src/routes/termdb.cluster.ts +7 -2
- package/src/termsetting.ts +3 -3
package/dist/index.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -92,12 +92,17 @@ type bcfMafFile = {
|
|
|
92
92
|
maffile: string
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
type
|
|
96
|
-
/** if true, served from gdc. no other parameters
|
|
97
|
-
gdcapi?:
|
|
95
|
+
type SnvindelByIsoform = {
|
|
96
|
+
/** if true, served from gdc. no other parameters */
|
|
97
|
+
gdcapi?: true
|
|
98
|
+
/** getter function to retrieve data. dynamically added or ds-supplied */
|
|
99
|
+
get?: (f: any) => void
|
|
100
|
+
}
|
|
98
101
|
|
|
102
|
+
type SnvindelByRange = {
|
|
103
|
+
/** if true, served from gdc. no other parameters */
|
|
104
|
+
gdcapi?: true
|
|
99
105
|
//local ds can have following different setup
|
|
100
|
-
|
|
101
106
|
/** one single bcf file */
|
|
102
107
|
bcffile?: string
|
|
103
108
|
/** one bcf file per chr */
|
|
@@ -106,8 +111,8 @@ type SnvindelByRange = {
|
|
|
106
111
|
bcfMafFile?: bcfMafFile
|
|
107
112
|
/** allow to apply special configurations to certain INFO fields of the bcf file */
|
|
108
113
|
infoFields?: InfoFieldEntry[]
|
|
109
|
-
/**
|
|
110
|
-
|
|
114
|
+
/** getter function to retrieve data. dynamically added or ds-supplied */
|
|
115
|
+
get?: (f: any) => void
|
|
111
116
|
}
|
|
112
117
|
|
|
113
118
|
type URLEntry = {
|
|
@@ -310,12 +315,10 @@ type SnvindelComputeGroup_info = {
|
|
|
310
315
|
/** a data type under ds.queries{} */
|
|
311
316
|
type SnvIndelQuery = {
|
|
312
317
|
forTrack?: boolean
|
|
313
|
-
/** allow to query data by either isoform or range
|
|
314
|
-
|
|
315
|
-
*/
|
|
316
|
-
byisoform?: GdcApi
|
|
318
|
+
/** allow to query data by either isoform or range; either or both can be used; cannot be both missing */
|
|
319
|
+
byisoform?: SnvindelByIsoform
|
|
317
320
|
/** query data by range */
|
|
318
|
-
byrange
|
|
321
|
+
byrange?: SnvindelByRange
|
|
319
322
|
|
|
320
323
|
infoUrl?: URLEntry[]
|
|
321
324
|
skewerRim?: SkewerRim
|
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -46,6 +46,10 @@ export type ExpressionInput = {
|
|
|
46
46
|
conf2_mode?: 'continuous' | 'discrete'
|
|
47
47
|
/** Number of variable genes to be included for DE analysis (optional) */
|
|
48
48
|
VarGenes?: number
|
|
49
|
+
/** The methodology used for differential gene expression: wilcoxon, edgeR and limma */
|
|
50
|
+
DE_method: 'wilcoxon' | 'limma' | 'edgeR'
|
|
51
|
+
/** Cutoff for when mds plot will be generated for edgeR and limma test */
|
|
52
|
+
mds_cutoff: number
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
export type DEResponse = {
|
|
@@ -82,8 +82,13 @@ export type ValidResponse = {
|
|
|
82
82
|
byTermId: { [index: string]: any }
|
|
83
83
|
/** */
|
|
84
84
|
bySampleId: { [index: string]: any }
|
|
85
|
-
/** list of term names that are excluded from analysis
|
|
86
|
-
removedHierClusterTerms?:
|
|
85
|
+
/** list of term names that are excluded from analysis, one reason per set, for client display */
|
|
86
|
+
removedHierClusterTerms?: {
|
|
87
|
+
/** reason for skipping */
|
|
88
|
+
text: string
|
|
89
|
+
/** list of skipped item names */
|
|
90
|
+
lst: string[]
|
|
91
|
+
}[]
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
//response of just 1 gene, thus unable to do clustering
|
package/src/termsetting.ts
CHANGED
|
@@ -84,8 +84,8 @@ type BaseTermSettingOpts = {
|
|
|
84
84
|
* before the pill name is truncated. */
|
|
85
85
|
abbrCutoff?: number
|
|
86
86
|
activeCohort?: number
|
|
87
|
-
/**
|
|
88
|
-
disable_terms?:
|
|
87
|
+
/** array of term objects to show in the tree but not clickable */
|
|
88
|
+
disable_terms?: Term[]
|
|
89
89
|
// This is not used anywhere.
|
|
90
90
|
// Ok to remove?
|
|
91
91
|
handler: Handler
|
|
@@ -165,7 +165,7 @@ export type TermSettingInstance = {
|
|
|
165
165
|
clickNoPillDiv?: any
|
|
166
166
|
dom: InstanceDom
|
|
167
167
|
doNotHideTipInMain?: boolean
|
|
168
|
-
disable_terms?:
|
|
168
|
+
disable_terms?: Term[]
|
|
169
169
|
durations: { exit: number }
|
|
170
170
|
filter?: Filter
|
|
171
171
|
handler?: Handler
|