Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractal.js
Commits
6e15d700
Commit
6e15d700
authored
Jun 15, 2018
by
Sascha Herzinger
Browse files
Added ignore subset option to most charts
parent
0fddff91
Pipeline
#5429
failed with stages
in 5 minutes and 51 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/vue/charts/PCA.vue
View file @
6e15d700
...
...
@@ -34,6 +34,12 @@
Whiten Output
</label>
</div>
<div>
<label>
<input
type=
"checkbox"
v-model=
"params.ignoreSubsets"
/>
Ignore Subsets
</label>
</div>
</control-panel>
<svg
:width=
"width"
:height=
"height"
>
...
...
@@ -154,7 +160,8 @@
selectedPoints
:
[],
hasSetFilter
:
false
,
params
:
{
whiten
:
false
whiten
:
false
,
ignoreSubsets
:
false
},
dataUrls
:
{
main
:
''
,
...
...
@@ -173,7 +180,7 @@
categories
:
this
.
categoryData
,
whiten
:
this
.
params
.
whiten
,
id_filter
:
this
.
idFilter
.
value
,
subsets
:
store
.
getters
.
subsets
subsets
:
this
.
params
.
ignoreSubsets
?
[]
:
store
.
getters
.
subsets
}
},
validArgs
()
{
...
...
src/vue/charts/Scatterplot.vue
View file @
6e15d700
...
...
@@ -28,6 +28,10 @@
Kendall
</label>
</fieldset>
<label>
Ignore Subsets:
<input
type=
"checkbox"
v-model=
"params.ignoreSubsets"
/>
</label>
</control-panel>
<svg
:height=
"height"
:width=
"width"
>
...
...
@@ -123,7 +127,8 @@
categoryData
:
[],
categoryColors
:
d3
.
schemeCategory10
,
params
:
{
method
:
'
pearson
'
method
:
'
pearson
'
,
ignoreSubsets
:
false
},
shownResults
:
{
// initially computed
coef
:
0
,
...
...
@@ -166,7 +171,7 @@
y
:
this
.
xyData
[
1
],
id_filter
:
this
.
idFilter
.
value
,
method
:
this
.
params
.
method
,
subsets
:
store
.
getters
.
subsets
,
subsets
:
this
.
params
.
ignoreSubsets
?
[]
:
store
.
getters
.
subsets
,
categories
:
this
.
categoryData
}
},
...
...
test/demo/demo.html
View file @
6e15d700
...
...
@@ -37,7 +37,11 @@
<option
value=
"volcanoplot"
>
Volcanoplot
</option>
</select>
<input
type=
"button"
value=
"Add Chart"
onclick=
"addChart()"
/>
<input
id=
"chart-size-range"
type=
"range"
min=
"10"
max=
"100"
value=
"30"
oninput=
"setChartSize(this.value)"
/>
<br/>
<label>
Zoom:
<input
id=
"chart-size-range"
type=
"range"
min=
"10"
max=
"100"
value=
"30"
oninput=
"setChartSize(this.value)"
/>
</label>
<br/>
<br/>
<input
type=
"button"
onclick=
"loadData()"
value=
"Prepare analysis cache"
/>
...
...
@@ -109,6 +113,11 @@
dataType
:
'
categorical
'
,
field
:
'
tumor_stage
'
},
{
dataType
:
'
categorical
'
,
field
:
'
miR1269a_expression
'
},
{
dataType
:
'
numerical
'
,
field
:
'
year_of_birth
'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment