-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings-schema.json
210 lines (210 loc) · 7.41 KB
/
settings-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{"title": "settings"
,"description": "JSON schema for paneled-outlier-explorer configuration"
,"overview": "The most straightforward way to customize the Paneled Outlier Explorer is by using a configuration object whose properties describe the behavior and appearance of the chart. Since the Paneled Outlier Explorer is a Webcharts `chart` object, many default Webcharts settings are set in the [defaultSettings.js file](https://github.com/RhoInc/paneled-outlier-explorer/blob/master/src/defaultSettings.js) as [described below](#webcharts-specific-settings). Refer to the [Webcharts documentation](https://github.com/RhoInc/Webcharts/wiki/Chart-Configuration) for more details on these settings.\nIn addition to the standard Webcharts settings several custom settings not available in the base Webcharts library have been added to the Paneled Outlier Explorer to facilitate data mapping and other custom functionality. These custom settings are described in detail below. All defaults can be overwritten by users."
,"version": "1.1.0"
,"type": "object"
,"properties":
{"measure_col":
{"type": "string"
,"title": "Measure"
,"description": "measure variable name"
,"default": "TEST"
}
,"time_cols":
{"type": "array"
,"title": "Time"
,"description": "an array of each time variable and associated metadata"
,"defaultObject":
[
{
"value_col": "VISIT",
"type": "ordinal",
"order": null,
"order_col": "VISITNUM",
"label": "Visit",
"rotate_tick_labels": true,
"vertical_space": 75
},
{
"value_col": "DY",
"type": "linear",
"order": null,
"order_col": "DY",
"label": "Study Day",
"rotate_tick_labels": false,
"vertical_space": 0
}
]
,"items":
{"type": "object"
,"properties":
{"value_col":
{"type": "string"
,"title": "Time variable name"
,"default": "VISIT"
}
,"type":
{"type": "string"
,"title": "Time variable data type"
,"default": "ordinal"
}
,"label":
{"type": "string"
,"title": "Time variable label"
,"default": "Visit"
}
,"order_col":
{"type": "string"
,"title": "Time ordering variable"
,"default": "VISITNUM"
}
,"rotate_tick_labels":
{"type": "boolean"
,"title": "Rotate x-axis tick labels?"
,"default": true
}
,"vertical_space":
{"type": "number"
,"title": "X-axis vertical space"
,"default": 75
}
}
}
}
,"value_col":
{"type": "string"
,"title": "Result"
,"description": "result variable name"
,"default": "STRESN"
}
,"id_col":
{"type": "string"
,"title": "Identifier"
,"description": "identifier variable name"
,"default": "USUBJID"
}
,"unit_col":
{"type": "string"
,"title": "Unit"
,"description": "unit variable name"
,"default": "STRESU"
}
,"lln_col":
{"type": "string"
,"title": "Lower Limit of Normal"
,"description": "lower limit of normal variable name"
,"default": "STNRLO"
}
,"uln_col":
{"type": "string"
,"title": "Upper Limit of Normal"
,"description": "upper limit of normal variable name"
,"default": "STNRHI"
}
,"measures":
{"type": "array"
,"title": "Measure list"
,"description": "list of initially displayed measures"
,"items":
{"type": "string"
}
}
,"filters":
{"type": "array"
,"title": "Filters"
,"description": "an array of each filter variable and associated metadata"
,"items":
{"type": "object"
,"properties":
{"value_col":
{"type": "string"
,"title": "Variable name"
}
,"label":
{"type": "string"
,"title": "Variable label"
}
}
}
}
,"multiples_sizing":
{"type": "object"
,"title": "Dimensions of small multiples"
,"description": "width and height of small multiples"
,"properties":
{"width":
{"type": "number"
,"title": "Width"
,"default": 350
}
,"height":
{"type": "number"
,"title": "Height"
,"default": 175
}
}
}
,"visits_without_data":
{"type": "boolean"
,"title": "Display of visits without data"
,"description": "toggles the display of visits with and without data"
,"default": false
}
,"unscheduled_visits":
{"type": "boolean"
,"title": "Display of unscheduled visits"
,"description": "toggles the display of unscheduled visits"
,"default": false
}
,"unscheduled_visit_pattern":
{"type": "string"
,"title": "Unscheduled Visit Pattern"
,"description": "a regular expression that identifies unscheduled visits"
,"default": "/unscheduled|early termination/i"
}
,"unscheduled_visits_values":
{"type": "array"
,"title": "Unscheduled Visit List"
,"description": "an array of strings that identify unscheduled visits; overrides unscheduled_visit_pattern"
,"items":
{"type": "string"
}
}
,"inliers":
{"type": "boolean"
,"title": "Normal range inliers"
,"description": "toggles the display of participants with entirely normal results within each measure"
,"default": false
}
,"normal_range_method":
{"type": "string"
,"title": "Normal range method"
,"description": "method for identifying the normal range"
,"default": "LLN-ULN"
,"enum":
["None"
,"LLN-ULN"
,"Standard Deviation"
,"Qunatiles"
]
}
,"normal_range_sd":
{"type": "number"
,"title": "Number of standard deviations"
,"description": "results less/greater than this the mean minus/plus this many standard deviations are outliers"
,"default": 1.96
}
,"normal_range_quantile_low":
{"type": "number"
,"title": "Lower quantile"
,"description": "results less than this quantile are outliers"
,"default": 0.05
}
,"normal_range_quantile_high":
{"type": "number"
,"title": "Upper quantile"
,"description": "results greater than this quantile are outliers"
,"default": 0.95
}
}
}