gramene-search 2.20.0 → 2.20.1
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/index.js +8 -24
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4911,7 +4911,6 @@ const $4b8473139e48e77e$export$c6dbe9be8c8b382e = {
|
|
|
4911
4911
|
fg: '#c0392b'
|
|
4912
4912
|
}
|
|
4913
4913
|
};
|
|
4914
|
-
const $4b8473139e48e77e$export$39a35029fe99c21 = '#d35400'; // specific-to dot / enhanced-in outline
|
|
4915
4914
|
function $4b8473139e48e77e$export$8ca7625ba2054603(tokens) {
|
|
4916
4915
|
const out = {};
|
|
4917
4916
|
(tokens || []).forEach((t)=>{
|
|
@@ -8195,7 +8194,7 @@ const $5c2c79352d3d7b81$export$b2e089eb3692b073 = (props)=>/*#__PURE__*/ (0, $gX
|
|
|
8195
8194
|
// Host-defined tbrowse zone for the Homology gene tree, redesigned to compare
|
|
8196
8195
|
// expression across a gene family. Three parts, aligned to the tree leaves:
|
|
8197
8196
|
// 1. a gene × organ heatmap of ordinal expression levels (expr_organ_level),
|
|
8198
|
-
//
|
|
8197
|
+
// tissue-specific / -enhanced organs are noted in cell tooltips;
|
|
8199
8198
|
// 2. a Max TPM column (expr_max_tpm), log-scaled magnitude;
|
|
8200
8199
|
// 3. a Stress column of ↑activated / ↓repressed condition chips
|
|
8201
8200
|
// (expr_activated_by / expr_repressed_by).
|
|
@@ -8387,29 +8386,17 @@ const $cd8bc494277e92a4$var$OrganCell = ({ organ: organ, gene: gene })=>{
|
|
|
8387
8386
|
const enhanced = !!(gene && gene.enhancedIn.has(organ));
|
|
8388
8387
|
const title = level ? `${(0, $4b8473139e48e77e$export$50c1f966fd3af83e)(organ)}: ${(0, $4b8473139e48e77e$export$433053e2c141d410)[level] || level}${specific ? " \xb7 specific" : enhanced ? " \xb7 enhanced" : ''}` : `${(0, $4b8473139e48e77e$export$50c1f966fd3af83e)(organ)}: not assayed`;
|
|
8389
8388
|
const style = {
|
|
8390
|
-
position: 'relative',
|
|
8391
8389
|
width: $cd8bc494277e92a4$var$ORGAN_CELL_W,
|
|
8392
8390
|
height: '100%',
|
|
8393
8391
|
boxSizing: 'border-box',
|
|
8394
8392
|
background: level ? (0, $4b8473139e48e77e$export$b352e11f7a2ac9c5)[level] || 'transparent' : 'transparent',
|
|
8395
8393
|
borderRight: $cd8bc494277e92a4$var$gridBorder
|
|
8396
8394
|
};
|
|
8397
|
-
//
|
|
8398
|
-
|
|
8395
|
+
// Tissue-specific / -enhanced organs are reported in the cell's tooltip rather
|
|
8396
|
+
// than with a marker, so the grid reads purely as expression level.
|
|
8399
8397
|
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("div", {
|
|
8400
8398
|
title: title,
|
|
8401
|
-
style: style
|
|
8402
|
-
children: specific && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("span", {
|
|
8403
|
-
style: {
|
|
8404
|
-
position: 'absolute',
|
|
8405
|
-
top: 1,
|
|
8406
|
-
right: 1,
|
|
8407
|
-
width: 4,
|
|
8408
|
-
height: 4,
|
|
8409
|
-
borderRadius: '50%',
|
|
8410
|
-
background: (0, $4b8473139e48e77e$export$39a35029fe99c21)
|
|
8411
|
-
}
|
|
8412
|
-
})
|
|
8399
|
+
style: style
|
|
8413
8400
|
});
|
|
8414
8401
|
};
|
|
8415
8402
|
const $cd8bc494277e92a4$var$StressCell = ({ gene: gene, width: width })=>{
|
|
@@ -18076,14 +18063,11 @@ const $8f8e530286a37ce9$var$AttrTableViewCmp = (props)=>{
|
|
|
18076
18063
|
return `${(0, $4b8473139e48e77e$export$50c1f966fd3af83e)(o)}: ${(0, $4b8473139e48e77e$export$433053e2c141d410)[lvl] || lvl}${sp}`;
|
|
18077
18064
|
},
|
|
18078
18065
|
comparator: (a, b)=>((0, $4b8473139e48e77e$export$a61929d6d484c6d4)[a] ?? -1) - ((0, $4b8473139e48e77e$export$a61929d6d484c6d4)[b] ?? -1),
|
|
18079
|
-
|
|
18080
|
-
|
|
18066
|
+
// Specific / enhanced are reported in the tooltip above rather than
|
|
18067
|
+
// with an outline, so the grid reads purely as expression level.
|
|
18068
|
+
cellStyle: (p)=>({
|
|
18081
18069
|
background: p.value ? (0, $4b8473139e48e77e$export$b352e11f7a2ac9c5)[p.value] || 'transparent' : 'transparent'
|
|
18082
|
-
}
|
|
18083
|
-
if (p.data && p.data._specific.has(o)) style.boxShadow = `inset 0 0 0 2px ${0, $4b8473139e48e77e$export$39a35029fe99c21}`;
|
|
18084
|
-
else if (p.data && p.data._enhanced.has(o)) style.boxShadow = `inset 0 0 0 1px ${0, $4b8473139e48e77e$export$39a35029fe99c21}`;
|
|
18085
|
-
return style;
|
|
18086
|
-
}
|
|
18070
|
+
})
|
|
18087
18071
|
});
|
|
18088
18072
|
});
|
|
18089
18073
|
return;
|