Class CoxVariablesOverallModelFitComparator
java.lang.Object
org.biojava.nbio.survival.cox.comparators.CoxVariablesOverallModelFitComparator
- All Implemented Interfaces:
Comparator<CoxVariables>
public class CoxVariablesOverallModelFitComparator
extends Object
implements Comparator<CoxVariables>
- Author:
- Scooter Willis
-
Constructor Summary
ConstructorDescriptionCoxVariablesOverallModelFitComparator
(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
Modifier and TypeMethodDescriptionint
compare
(CoxVariables coxVariables1, CoxVariables coxVariables2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CoxVariablesOverallModelFitComparator
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 Details
-
compare
- Specified by:
compare
in interfaceComparator<CoxVariables>
-