@sjcrh/proteinpaint-types 2.129.6 → 2.130.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/dataset.ts +12 -4
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -549,8 +549,16 @@ configs for types of cnv data
|
|
|
549
549
|
important: presence of filtering properties indiate the type of cnv quantification
|
|
550
550
|
and will trigger rendering of ui controls
|
|
551
551
|
*/
|
|
552
|
-
type
|
|
553
|
-
/** ds supplied
|
|
552
|
+
type CnvSegmentQuery = {
|
|
553
|
+
/** ds supplied or dynamically added getter
|
|
554
|
+
todo properly type input/output
|
|
555
|
+
returns:
|
|
556
|
+
{
|
|
557
|
+
cnvs:[]
|
|
558
|
+
{ chr, start, stop, value?, class, samples[], occurrence=1, ssm_id }
|
|
559
|
+
cnvMsg:string
|
|
560
|
+
}
|
|
561
|
+
*/
|
|
554
562
|
get?: (q: any) => any
|
|
555
563
|
/** either file or get is required. file is bgzipped with columns:
|
|
556
564
|
1. chr
|
|
@@ -633,7 +641,7 @@ type CnvSegment = {
|
|
|
633
641
|
no longer used!!
|
|
634
642
|
file content is a probe-by-sample matrix, values are signals
|
|
635
643
|
for a given region, the median signal from probes in the region is used to make a gain/loss call for each sample
|
|
636
|
-
this is alternative to
|
|
644
|
+
this is alternative to CnvSegmentQuery
|
|
637
645
|
|
|
638
646
|
type Probe2Cnv = {
|
|
639
647
|
file: string
|
|
@@ -901,7 +909,7 @@ type Mds3Queries = {
|
|
|
901
909
|
gbRestrictMode?: 'protein' | 'genomic'
|
|
902
910
|
snvindel?: SnvIndelQuery
|
|
903
911
|
svfusion?: SvFusion
|
|
904
|
-
cnv?:
|
|
912
|
+
cnv?: CnvSegmentQuery
|
|
905
913
|
trackLst?: TrackLst
|
|
906
914
|
ld?: LdQuery
|
|
907
915
|
defaultCoord?: string
|