@sjcrh/proteinpaint-shared 2.181.0 → 2.182.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/package.json +1 -1
- package/src/common.js +2 -2
- package/src/termdb.usecase.js +5 -0
- package/src/terms.js +1 -1
package/package.json
CHANGED
package/src/common.js
CHANGED
|
@@ -25,7 +25,7 @@ export class TermTypeGroups {
|
|
|
25
25
|
static ISOFORM_EXPRESSION = "Isoform Expression"
|
|
26
26
|
static GSEA = "GSEA"
|
|
27
27
|
static METABOLITE_INTENSITY = "Metabolite Intensity"
|
|
28
|
-
static PROTEOME_ABUNDANCE = "
|
|
28
|
+
static PROTEOME_ABUNDANCE = "Proteome Abundance"
|
|
29
29
|
static MUTATION_CNV_FUSION = "Mutation/CNV/Fusion"
|
|
30
30
|
static MUTATION_SIGNATURE = "Mutation Signature"
|
|
31
31
|
static PROTEIN_EXPRESSION = "Protein Expression"
|
|
@@ -88,7 +88,7 @@ export const dt2label = {
|
|
|
88
88
|
[dtloh]: "LOH",
|
|
89
89
|
[dtgeneexpression]: "Gene Expression",
|
|
90
90
|
[dtmetaboliteintensity]: "Metabolite Intensity",
|
|
91
|
-
[dtproteomeabundance]: "
|
|
91
|
+
[dtproteomeabundance]: "Proteome Abundance",
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
// Maps dt types to UI labels and lesion types for GRIN2
|
package/src/termdb.usecase.js
CHANGED
|
@@ -265,6 +265,11 @@ export function isUsableTerm(term, _usecase, termdbConfig, ds) {
|
|
|
265
265
|
}
|
|
266
266
|
return uses
|
|
267
267
|
|
|
268
|
+
case "proteinView":
|
|
269
|
+
if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot")
|
|
270
|
+
if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch")
|
|
271
|
+
return uses
|
|
272
|
+
|
|
268
273
|
default:
|
|
269
274
|
if (graphableTypes.has(term.type)) uses.add("plot")
|
|
270
275
|
if (!term.isleaf) uses.add("branch")
|
package/src/terms.js
CHANGED
|
@@ -242,7 +242,7 @@ const typeMap = {
|
|
|
242
242
|
dnaMethylation: "DNA Methylation",
|
|
243
243
|
geneVariant: "Gene Variant",
|
|
244
244
|
metaboliteIntensity: "Metabolite Intensity",
|
|
245
|
-
proteomeAbundance: "
|
|
245
|
+
proteomeAbundance: "Proteome Abundance",
|
|
246
246
|
multivalue: "Multi Value",
|
|
247
247
|
singleCellGeneExpression: "Single Cell, Gene Expression",
|
|
248
248
|
singleCellCellType: "Single Cell, Cell Type",
|