Class CoxVariablesOverallModelFitComparator
- java.lang.Object
-
- org.biojava.nbio.survival.cox.comparators.CoxVariablesOverallModelFitComparator
-
- All Implemented Interfaces:
java.util.Comparator<CoxVariables>
public class CoxVariablesOverallModelFitComparator extends java.lang.Object implements java.util.Comparator<CoxVariables>
- Author:
- Scooter Willis
-
-
Constructor Summary
Constructors Constructor Description CoxVariablesOverallModelFitComparator(java.lang.String variables)
Variables are stored as a string representation of an ArrayList [META_GENE] or [trtg, META_GENE] add variables used in cox regression to an array and then do toString.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(CoxVariables coxVariables1, CoxVariables coxVariables2)
-
-
-
Constructor Detail
-
CoxVariablesOverallModelFitComparator
public CoxVariablesOverallModelFitComparator(java.lang.String variables)
Variables are stored as a string representation of an ArrayList [META_GENE] or [trtg, META_GENE] add variables used in cox regression to an array and then do toString.- Parameters:
variables
-
-
-
Method Detail
-
compare
public int compare(CoxVariables coxVariables1, CoxVariables coxVariables2)
- Specified by:
compare
in interfacejava.util.Comparator<CoxVariables>
-
-