Esempio n. 1
0
 /** Constructor */
 public TcgaSurvivalDataProcessor() throws Exception {
   _parser = new TcgaClinicalTabDataParser(this);
   _dependentVariableTransformer = GetDependentVariableTransformerFromConfig();
   _survivalDataPointName =
       Utilities.Config.GetStringValue(
           "CONTINUOUS_DEPENDENT_VARIABLE_DATA_POINT_NAME", "ContinuousDependentVariable");
   _lowRiskDescriptor =
       Utilities.Config.GetStringValue("CONTINUOUS_DEPENDENT_VARIABLE_LOW_DESCRIPTOR", "LOW");
   _highRiskDescriptor =
       Utilities.Config.GetStringValue("CONTINUOUS_DEPENDENT_VARIABLE_HIGH_DESCRIPTOR", "HIGH");
 }
Esempio n. 2
0
 private AbstractDependentVariableTransformer GetDependentVariableTransformerFromConfig()
     throws Exception {
   String className =
       Utilities.Config.GetStringValue(
           "DEPENDENT_VARIABLE_TRANSFORMER",
           new MedianContinuousDependentVariableTransformer().getClass().getSimpleName());
   return (AbstractDependentVariableTransformer)
       ((Constructor) Class.forName(className).getConstructor()).newInstance();
 }