Package org.snpeff.geneSets.algorithm
Enum EnrichmentAlgorithm.EnrichmentAlgorithmType
- java.lang.Object
-
- java.lang.Enum<EnrichmentAlgorithm.EnrichmentAlgorithmType>
-
- org.snpeff.geneSets.algorithm.EnrichmentAlgorithm.EnrichmentAlgorithmType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EnrichmentAlgorithm.EnrichmentAlgorithmType>
- Enclosing class:
- EnrichmentAlgorithm
public static enum EnrichmentAlgorithm.EnrichmentAlgorithmType extends java.lang.Enum<EnrichmentAlgorithm.EnrichmentAlgorithmType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FISHER
FISHER_GREEDY
LEADING_EDGE_FRACTION
NONE
RANKSUM
RANKSUM_GREEDY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBinary()
Is the algorithm base on "interesting / not-interesting" binary clasification?boolean
isGreedy()
Is this a greedy algorithm?boolean
isRank()
Does the algorithm need a rank statistic?static EnrichmentAlgorithm.EnrichmentAlgorithmType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EnrichmentAlgorithm.EnrichmentAlgorithmType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FISHER_GREEDY
public static final EnrichmentAlgorithm.EnrichmentAlgorithmType FISHER_GREEDY
-
RANKSUM_GREEDY
public static final EnrichmentAlgorithm.EnrichmentAlgorithmType RANKSUM_GREEDY
-
FISHER
public static final EnrichmentAlgorithm.EnrichmentAlgorithmType FISHER
-
RANKSUM
public static final EnrichmentAlgorithm.EnrichmentAlgorithmType RANKSUM
-
LEADING_EDGE_FRACTION
public static final EnrichmentAlgorithm.EnrichmentAlgorithmType LEADING_EDGE_FRACTION
-
NONE
public static final EnrichmentAlgorithm.EnrichmentAlgorithmType NONE
-
-
Method Detail
-
values
public static EnrichmentAlgorithm.EnrichmentAlgorithmType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EnrichmentAlgorithm.EnrichmentAlgorithmType c : EnrichmentAlgorithm.EnrichmentAlgorithmType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnrichmentAlgorithm.EnrichmentAlgorithmType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isBinary
public boolean isBinary()
Is the algorithm base on "interesting / not-interesting" binary clasification?- Returns:
-
isGreedy
public boolean isGreedy()
Is this a greedy algorithm?- Returns:
-
isRank
public boolean isRank()
Does the algorithm need a rank statistic?- Returns:
-
-