Package org.snpeff.geneSets.algorithm
Class EnrichmentAlgorithmGreedyVariableSize
java.lang.Object
org.snpeff.geneSets.algorithm.EnrichmentAlgorithm
org.snpeff.geneSets.algorithm.EnrichmentAlgorithmGreedy
org.snpeff.geneSets.algorithm.EnrichmentAlgorithmGreedyVariableSize
- Direct Known Subclasses:
FisherPValueGreedyAlgorithm,RankSumPValueGreedyAlgorithm
A greedy enrichment algorithm for selecting gene-sets using a variable geneSet-size strategy:
i) Select only from geneSets in low-sizes e.g. geneSet.size() in [1-10]
ii) If p-value goes up, use a larger geneSize range, e.g. geneSet.size() in [11-20]
- Author:
- pcingola
-
Nested Class Summary
Nested classes/interfaces inherited from class org.snpeff.geneSets.algorithm.EnrichmentAlgorithm
EnrichmentAlgorithm.EnrichmentAlgorithmType -
Field Summary
Fields inherited from class org.snpeff.geneSets.algorithm.EnrichmentAlgorithmGreedy
adjustedPvalue, DEFAULT_MAX_PVALUE, maxPvalue, maxPvalueAjustedFields inherited from class org.snpeff.geneSets.algorithm.EnrichmentAlgorithm
HTML_BG_COLOR, HTML_BG_COLOR_TITLE, HTML_TD_GENES_MAX_LEN, PRINT_SOMETHING_TIME -
Constructor Summary
ConstructorsConstructorDescriptionEnrichmentAlgorithmGreedyVariableSize(GeneSets geneSets, int numberToSelect) -
Method Summary
Modifier and TypeMethodDescriptionprotected ResultgreedyPvalue(Result prevResult) Find best p-value using a greedy algorithm (smaller gene sets first)voidsetInitialSize(int initialSize) voidsetSizeGrowthFactor(int sizeGrowthFactor) Methods inherited from class org.snpeff.geneSets.algorithm.EnrichmentAlgorithmGreedy
greedyPvalue, select, setAdjustedPvalue, setMaxGeneSetSize, setMaxPvalue, setMaxPvalueAjusted, setMinGeneSetSize, setVerbose, stopCriteriaMethods inherited from class org.snpeff.geneSets.algorithm.EnrichmentAlgorithm
getMaxPvalueAdjusted, getOutput, isShow, print, setDebug, setFilterOutputGeneSets, setHtmlTable, setMaxPValue, setMaxPvalueAdjusted
-
Constructor Details
-
EnrichmentAlgorithmGreedyVariableSize
-
-
Method Details
-
greedyPvalue
Find best p-value using a greedy algorithm (smaller gene sets first)- Overrides:
greedyPvaluein classEnrichmentAlgorithmGreedy- Returns:
-
setInitialSize
public void setInitialSize(int initialSize) -
setSizeGrowthFactor
public void setSizeGrowthFactor(int sizeGrowthFactor)
-