Class LinkAnalysisConfig
- java.lang.Object
-
- ubic.gemma.core.analysis.expression.coexpression.links.LinkAnalysisConfig
-
- All Implemented Interfaces:
Serializable
public class LinkAnalysisConfig extends Object implements 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LinkAnalysisConfig.NormalizationMethod
static class
LinkAnalysisConfig.SingularThreshold
Configures whether only one of the two thresholds should be used.
-
Field Summary
Fields Modifier and Type Field Description static Integer
DEFAULT_PROBE_DEGREE_THRESHOLD
probes with more links than this are ignored.
-
Constructor Summary
Constructors Constructor Description LinkAnalysisConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArrayName()
double
getCdfCut()
double
getCorrelationCacheThreshold()
double
getFwe()
double
getLowerTailCut()
String
getMetric()
int
getMinNumPresent()
LinkAnalysisConfig.NormalizationMethod
getNormalizationMethod()
File
getOutputFile()
Integer
getProbeDegreeThreshold()
LinkAnalysisConfig.SingularThreshold
getSingularThreshold()
double
getSubsetSize()
double
getUpperTailCut()
boolean
isAbsoluteValue()
boolean
isCheckCorrelationDistribution()
boolean
isCheckForBatchEffect()
boolean
isCheckForOutliers()
boolean
isLowerCdfCutUsed()
boolean
isMakeSampleCorrMatImages()
boolean
isOmitNegLinks()
boolean
isSubset()
boolean
isSubsetUsed()
boolean
isTextOut()
boolean
isUpperCdfCutUsed()
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
setMetric(String metric)
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)
CoexpressionAnalysis
toAnalysis()
String
toString()
-
-
-
Field Detail
-
DEFAULT_PROBE_DEGREE_THRESHOLD
public static final Integer DEFAULT_PROBE_DEGREE_THRESHOLD
probes with more links than this are ignored. Zero means this doesn't do anything.
-
-
Method Detail
-
isCheckForBatchEffect
public boolean isCheckForBatchEffect()
-
setCheckForBatchEffect
public void setCheckForBatchEffect(boolean rejectForBatchEffect)
-
isCheckForOutliers
public boolean isCheckForOutliers()
-
setCheckForOutliers
public void setCheckForOutliers(boolean rejectForOutliers)
-
getArrayName
public String getArrayName()
-
setArrayName
public void setArrayName(String arrayName)
-
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
public String getMetric()
-
setMetric
public void setMetric(String metric)
-
getMinNumPresent
public int getMinNumPresent()
-
setMinNumPresent
public void setMinNumPresent(int minNumPresent)
-
getNormalizationMethod
public LinkAnalysisConfig.NormalizationMethod getNormalizationMethod()
- Returns:
- the normalizationMethod
-
setNormalizationMethod
public void setNormalizationMethod(LinkAnalysisConfig.NormalizationMethod normalizationMethod)
- Parameters:
normalizationMethod
- the normalizationMethod to set
-
getOutputFile
public File getOutputFile()
-
setOutputFile
public void setOutputFile(File outputFile)
-
getProbeDegreeThreshold
public Integer 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
public LinkAnalysisConfig.SingularThreshold getSingularThreshold()
- Returns:
- the singularThreshold
-
setSingularThreshold
public void setSingularThreshold(LinkAnalysisConfig.SingularThreshold singularThreshold)
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
public CoexpressionAnalysis toAnalysis()
- Returns:
- representation of this analysis (not completely filled in - only the basic parameters)
-
-