Class CoxVariablesOverallModelFitComparator
java.lang.Object
org.biojava.nbio.survival.cox.comparators.CoxVariablesOverallModelFitComparator
- All Implemented Interfaces:
Serializable,Comparator<CoxVariables>
public class CoxVariablesOverallModelFitComparator
extends Object
implements Comparator<CoxVariables>, Serializable
- Author:
- Scooter Willis
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoxVariablesOverallModelFitComparator(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 TypeMethodDescriptionintcompare(CoxVariables coxVariables1, CoxVariables coxVariables2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
comparein interfaceComparator<CoxVariables>
-