Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit 9d8cf96e authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

#34 Add "observed" variable option to Survival Analysis

parent 45f87047
Pipeline #6964 passed with stages
in 5 minutes and 47 seconds
......@@ -13,13 +13,12 @@
v-model="params.groupVars.value"
v-on:update="updateGroupVars">
</data-box>
<!--FIXME: does not work right now -->
<!--<data-box :header="params.observedVars.label"-->
<!--:data-types="['categorical']"-->
<!--:validRange="[params.observedVars.minLength, params.observedVars.maxLength]"-->
<!--v-model="params.observedVars.value"-->
<!--v-on:update="updateObservedVars">-->
<!--</data-box>-->
<data-box :header="params.observedVars.label"
:data-types="['categorical']"
:validRange="[params.observedVars.minLength, params.observedVars.maxLength]"
v-model="params.observedVars.value"
v-on:update="updateObservedVars">
</data-box>
<hr class="fjs-seperator"/>
<div class="fjs-settings">
<fieldset class="fjs-fieldset">
......@@ -120,16 +119,15 @@
maxLength: Infinity,
value: []
},
// FIXME: Does not work right now
// observedVars: {
// label: 'Observed (optional) [categorical]',
// type: Array,
// elementType: String,
// validValues: [],
// minLength: 0,
// maxLength: Infinity,
// value: []
// },
observedVars: {
label: 'Observed (optional) [categorical]',
type: Array,
elementType: String,
validValues: [],
minLength: 0,
maxLength: 1,
value: []
},
estimator: {
label: 'Estimator',
type: String,
......@@ -158,7 +156,7 @@
return {
durations: this.params.durationVars.value,
categories: this.params.groupVars.value,
event_observed: [], // this.params.observedVars.value,
event_observed: this.params.observedVars.value,
estimator: this.params.estimator.value,
id_filter: store.getters.filter('ids').value,
subsets: this.params.ignoreSubsets.value ? [] : store.getters.subsets
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment