Class LinkAnalysisConfig
java.lang.Object
ubic.gemma.core.analysis.expression.coexpression.links.LinkAnalysisConfig
- All Implemented Interfaces:
Serializable
Holds parameters needed for LinkAnalysis. Note that many of these settings are not typically changed from the
defaults; they are there for experimentation.
- Author:
- Paul
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
Configures whether only one of the two thresholds should be used. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Integer
probes with more links than this are ignored. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
getFwe()
double
int
double
double
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isSubset()
boolean
boolean
boolean
boolean
isUseDb()
void
setAbsoluteValue
(boolean absoluteValue) void
setArrayName
(String arrayName) void
setCdfCut
(double cdfCut) void
setCheckCorrelationDistribution
(boolean checkCorrelationDistribution) void
setCheckForBatchEffect
(boolean rejectForBatchEffect) void
setCheckForOutliers
(boolean rejectForOutliers) void
setCorrelationCacheThreshold
(double correlationCacheThreshold) void
setFwe
(double fwe) void
setLowerCdfCutUsed
(boolean lowerCdfCutUsed) void
setLowerTailCut
(double lowerTailCut) void
setMakeSampleCorrMatImages
(boolean makeSampleCorrMatImages) void
void
setMinNumPresent
(int minNumPresent) void
setNormalizationMethod
(LinkAnalysisConfig.NormalizationMethod normalizationMethod) void
setOmitNegLinks
(boolean omitNegLinks) void
setOutputFile
(File outputFile) void
setProbeDegreeThreshold
(int probeDegreeThreshold) Probe degree threshold: Probes with more than this number of links are ignored.void
setSingularThreshold
(LinkAnalysisConfig.SingularThreshold singularThreshold) Set to modify threshold behaviour: enforce the choice of only one of the two standard thresholds.void
setSubset
(boolean subset) void
setSubsetSize
(double subsetSize) void
setSubsetUsed
(boolean subsetUsed) void
setTextOut
(boolean b) void
setUpperCdfCutUsed
(boolean upperCdfCutUsed) void
setUpperTailCut
(double upperTailCut) void
setUseDb
(boolean useDb) toString()
-
Field Details
-
DEFAULT_PROBE_DEGREE_THRESHOLD
probes with more links than this are ignored. Zero means this doesn't do anything.
-
-
Constructor Details
-
LinkAnalysisConfig
public LinkAnalysisConfig()
-
-
Method Details
-
isCheckForBatchEffect
public boolean isCheckForBatchEffect() -
setCheckForBatchEffect
public void setCheckForBatchEffect(boolean rejectForBatchEffect) -
isCheckForOutliers
public boolean isCheckForOutliers() -
setCheckForOutliers
public void setCheckForOutliers(boolean rejectForOutliers) -
getArrayName
-
setArrayName
-
getCdfCut
public double getCdfCut() -
setCdfCut
public void setCdfCut(double cdfCut) -
getCorrelationCacheThreshold
public double getCorrelationCacheThreshold() -
setCorrelationCacheThreshold
public void setCorrelationCacheThreshold(double correlationCacheThreshold) -
getFwe
public double getFwe() -
setFwe
public void setFwe(double fwe) -
getLowerTailCut
public double getLowerTailCut() -
setLowerTailCut
public void setLowerTailCut(double lowerTailCut) -
getMetric
-
setMetric
-
getMinNumPresent
public int getMinNumPresent() -
setMinNumPresent
public void setMinNumPresent(int minNumPresent) -
getNormalizationMethod
- Returns:
- the normalizationMethod
-
setNormalizationMethod
- Parameters:
normalizationMethod
- the normalizationMethod to set
-
getOutputFile
-
setOutputFile
-
getProbeDegreeThreshold
-
setProbeDegreeThreshold
public void setProbeDegreeThreshold(int probeDegreeThreshold) Probe degree threshold: Probes with more than this number of links are ignored. If set to <= 0, this setting is ignored.- Parameters:
probeDegreeThreshold
- the probeDegreeThreshold to set
-
getSingularThreshold
- Returns:
- the singularThreshold
-
setSingularThreshold
Set to modify threshold behaviour: enforce the choice of only one of the two standard thresholds.- Parameters:
singularThreshold
- the singularThreshold to set. Default is 'none'.
-
getSubsetSize
public double getSubsetSize() -
setSubsetSize
public void setSubsetSize(double subsetSize) -
getUpperTailCut
public double getUpperTailCut() -
setUpperTailCut
public void setUpperTailCut(double upperTailCut) -
isAbsoluteValue
public boolean isAbsoluteValue() -
setAbsoluteValue
public void setAbsoluteValue(boolean absoluteValue) -
isCheckCorrelationDistribution
public boolean isCheckCorrelationDistribution() -
setCheckCorrelationDistribution
public void setCheckCorrelationDistribution(boolean checkCorrelationDistribution) -
isLowerCdfCutUsed
public boolean isLowerCdfCutUsed()- Returns:
- the lowerCdfCutUsed
-
setLowerCdfCutUsed
public void setLowerCdfCutUsed(boolean lowerCdfCutUsed) - Parameters:
lowerCdfCutUsed
- the lowerCdfCutUsed to set
-
isMakeSampleCorrMatImages
public boolean isMakeSampleCorrMatImages() -
setMakeSampleCorrMatImages
public void setMakeSampleCorrMatImages(boolean makeSampleCorrMatImages) -
isOmitNegLinks
public boolean isOmitNegLinks()- Returns:
- the omitNegLinks
-
setOmitNegLinks
public void setOmitNegLinks(boolean omitNegLinks) - Parameters:
omitNegLinks
- the omitNegLinks to set
-
isSubset
public boolean isSubset() -
setSubset
public void setSubset(boolean subset) -
isSubsetUsed
public boolean isSubsetUsed() -
setSubsetUsed
public void setSubsetUsed(boolean subsetUsed) -
isTextOut
public boolean isTextOut() -
setTextOut
public void setTextOut(boolean b) -
isUpperCdfCutUsed
public boolean isUpperCdfCutUsed()- Returns:
- the upperCdfCutUsed
-
setUpperCdfCutUsed
public void setUpperCdfCutUsed(boolean upperCdfCutUsed) - Parameters:
upperCdfCutUsed
- the upperCdfCutUsed to set
-
isUseDb
public boolean isUseDb() -
setUseDb
public void setUseDb(boolean useDb) -
toAnalysis
- Returns:
- representation of this analysis (not completely filled in - only the basic parameters)
-
toString
-