@sjcrh/proteinpaint-types 2.96.0 → 2.96.2-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.
@@ -22,7 +22,7 @@ var diffExpPayload = {
22
22
  var validDERequest = (input) => {
23
23
  const errors = [];
24
24
  const __is = (input2) => {
25
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && "number" === typeof input3.min_count && "number" === typeof input3.min_total_count && ("text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method);
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && "number" === typeof input3.min_count && "number" === typeof input3.min_total_count && ("text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true;
26
26
  return "object" === typeof input2 && null !== input2 && $io0(input2);
27
27
  };
28
28
  if (false === __is(input)) {
@@ -52,7 +52,7 @@ var validDERequest = (input) => {
52
52
  path: _path2 + ".method",
53
53
  expected: "(string | undefined)",
54
54
  value: input3.method
55
- })].every((flag) => flag);
55
+ }), true].every((flag) => flag);
56
56
  return ("object" === typeof input2 && null !== input2 || $report(true, {
57
57
  path: _path + "",
58
58
  expected: "DERequest",
package/dist/index.js CHANGED
@@ -127,7 +127,7 @@ import {
127
127
  diffExpPayload,
128
128
  validDERequest,
129
129
  validDEResponse
130
- } from "./chunk-6LFMFM2C.js";
130
+ } from "./chunk-Z2WFGV6V.js";
131
131
  import {
132
132
  boxplotPayload,
133
133
  validBoxPlotRequest,
package/dist/termdb.DE.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  diffExpPayload,
3
3
  validDERequest,
4
4
  validDEResponse
5
- } from "./chunk-6LFMFM2C.js";
5
+ } from "./chunk-Z2WFGV6V.js";
6
6
  import "./chunk-Z6B6IQIY.js";
7
7
  export {
8
8
  diffExpPayload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.96.0",
3
+ "version": "2.96.2-0",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
package/src/dataset.ts CHANGED
@@ -1291,9 +1291,6 @@ export type Cohort = {
1291
1291
 
1292
1292
  /** Customizations specific to the mass nav component */
1293
1293
  type MassNav = {
1294
- /** optional title of this ds, if missing use ds.label. shown on mass nav header.
1295
- * use blank string to not to show a label*/
1296
- title?: Title
1297
1294
  /** Customization for the tabs*/
1298
1295
  tabs?: {
1299
1296
  /** supported keys: about, charts, groups, filter
@@ -15,6 +15,8 @@ export type DERequest = {
15
15
  storage_type: 'text' | 'HDF5'
16
16
  /** Method of DE used wilcoxon/edgeR */
17
17
  method?: string
18
+ /** Term for confounding variable (if present) */
19
+ tw?: any
18
20
  }
19
21
 
20
22
  export type ExpressionInput = {
@@ -32,6 +34,10 @@ export type ExpressionInput = {
32
34
  min_total_count: number
33
35
  /** Type of storage file: HDF5 or text. Text will be deprecated in the future */
34
36
  storage_type: 'HDF5' | 'text'
37
+ /** Confounding variable for DE analysis. Maybe array of string (Gender: Male/female) or number (Age). For now supporting 1 confounding variable. Later will add support for multiple confounding variables */
38
+ conf1?: any[]
39
+ /** Type of the confounding variable (categorical/float) */
40
+ conf1_type?: 'categorical' | 'float'
35
41
  }
36
42
 
37
43
  export type DEResponse = {