@sjcrh/proteinpaint-shared 2.88.2 → 2.95.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/package.json +1 -1
- package/src/common.js +22 -0
package/package.json
CHANGED
package/src/common.js
CHANGED
|
@@ -282,6 +282,9 @@ mclass[mclasssv] = {
|
|
|
282
282
|
key: mclasssv
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
+
// "CNV_amp" represents "CNV Gain" and is used in both 2-category and 5-category CNV data representation
|
|
286
|
+
// "CNV_amplification" represents CNV amplification and is used in 5-category CNV
|
|
287
|
+
// "CNV_amp" have to stay as-is since it may be hardcoded in lots of data beyond portal code.
|
|
285
288
|
export const mclasscnvgain = 'CNV_amp'
|
|
286
289
|
mclass[mclasscnvgain] = {
|
|
287
290
|
label: 'Copy number gain',
|
|
@@ -300,6 +303,25 @@ mclass[mclasscnvloss] = {
|
|
|
300
303
|
key: mclasscnvloss
|
|
301
304
|
}
|
|
302
305
|
|
|
306
|
+
// mclasscnvAmp is next level above mclasscnvgain and is used in 5-category CNV data
|
|
307
|
+
export const mclasscnvAmp = 'CNV_amplification'
|
|
308
|
+
mclass[mclasscnvAmp] = {
|
|
309
|
+
label: 'Copy number amplification',
|
|
310
|
+
color: '#900000',
|
|
311
|
+
dt: dtcnv,
|
|
312
|
+
desc: 'Copy number amplification',
|
|
313
|
+
key: mclasscnvAmp
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export const mclasscnvHomozygousDel = 'CNV_homozygous_deletion'
|
|
317
|
+
mclass[mclasscnvHomozygousDel] = {
|
|
318
|
+
label: 'Copy number homozygous deletion',
|
|
319
|
+
color: '#00457C',
|
|
320
|
+
dt: dtcnv,
|
|
321
|
+
desc: 'Copy number homozygous deletion',
|
|
322
|
+
key: mclasscnvHomozygousDel
|
|
323
|
+
}
|
|
324
|
+
|
|
303
325
|
export const mclasscnvloh = 'CNV_loh'
|
|
304
326
|
mclass[mclasscnvloh] = { label: 'LOH', color: '#12EDFC', dt: dtcnv, desc: 'Loss of heterozygosity', key: mclasscnvloh }
|
|
305
327
|
|