Class DifferentialExpressionAnalysisConfig
java.lang.Object
ubic.gemma.core.analysis.expression.diff.DifferentialExpressionAnalysisConfig
Holds the settings used for differential expression analysis, and defines some defaults.
- Author:
- keshav
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDefault value for whether moderated test statistics should be used. -
Constructor Summary
ConstructorsConstructorDescriptionCopy constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBaseLineFactorValues(Map<ExperimentalFactor, FactorValue> baselineConditions) voidaddFactorsToInclude(Collection<ExperimentalFactor> factors) Add a collection of factors to include in the analysis.voidaddInteractionsToInclude(Collection<Collection<ExperimentalFactor>> interactions) voidAdd an interaction of two factors to include in the analysis.protected booleanbooleanType of analysis to perform.For each categorical factor, indicate the baseline factor value to use.Override the default mode of operation for theRepetitiveValuesFilter.longMaximum time to spend on the analysis, in milliseconds.Override the minimum number of unique values (as a fraction of the number of assays) for a particular design element to apply the filter.Override the minimum number of assays to apply the repetitive value filter.Factor to subset the analysis on, if non-null.If this is non-null, this is a subset analysis for this factor value.inthashCode()booleanKeep processing other subsets when encountering anAnalysisExceptionon a subset.booleanWhether to create archive files.booleanWhether moderated test statistics should be used.booleanIndicate if this analysis should be persisted.booleanSet true for RNA-seq data setsvoidsetAnalysisType(AnalysisType analysisType) Type of analysis to perform.voidOverride the default mode of operation for theRepetitiveValuesFilter.voidsetIgnoreFailingSubsets(boolean ignoreFailingSubsets) Keep processing other subsets when encountering anAnalysisExceptionon a subset.voidsetMakeArchiveFile(boolean makeArchiveFile) Whether to create archive files.voidsetMaxAnalysisTimeMillis(long maxAnalysisTimeMillis) Maximum time to spend on the analysis, in milliseconds.voidsetMinimumFractionOfUniqueValues(Double minimumFractionOfUniqueValues) Override the minimum number of unique values (as a fraction of the number of assays) for a particular design element to apply the filter.voidsetMinimumNumberOfAssaysToApplyFilter(Integer minimumNumberOfAssaysToApplyFilter) Override the minimum number of assays to apply the repetitive value filter.voidsetModerateStatistics(boolean moderateStatistics) Whether moderated test statistics should be used.voidsetPersist(boolean persist) Indicate if this analysis should be persisted.voidsetSubsetFactor(ExperimentalFactor subsetFactor) Factor to subset the analysis on, if non-null.voidsetSubsetFactorValue(FactorValue subsetFactorValue) If this is non-null, this is a subset analysis for this factor value.voidsetUseWeights(boolean useWeights) Set true for RNA-seq data setstoString()
-
Field Details
-
DEFAULT_MODERATE_STATISTICS
public static final boolean DEFAULT_MODERATE_STATISTICSDefault value for whether moderated test statistics should be used.- See Also:
-
-
Constructor Details
-
DifferentialExpressionAnalysisConfig
public DifferentialExpressionAnalysisConfig() -
DifferentialExpressionAnalysisConfig
Copy constructor.
-
-
Method Details
-
addFactorsToInclude
Add a collection of factors to include in the analysis. -
addInteractionToInclude
Add an interaction of two factors to include in the analysis. -
addInteractionsToInclude
-
addBaseLineFactorValues
-
toAnalysis
- Returns:
- representation of this analysis with populated protocol holding information from this.
-
toString
-
getAnalysisType
Type of analysis to perform. -
getBaselineFactorValues
For each categorical factor, indicate the baseline factor value to use. -
isModerateStatistics
public boolean isModerateStatistics()Whether moderated test statistics should be used.This is usually done with the empirical Bayes method.
-
getFactorsToInclude
-
getInteractionsToInclude
-
isPersist
public boolean isPersist()Indicate if this analysis should be persisted. -
getSubsetFactor
Factor to subset the analysis on, if non-null. -
getSubsetFactorValue
If this is non-null, this is a subset analysis for this factor value.Only applicable for analysis on a
ExpressionExperimentSubSet. -
isIgnoreFailingSubsets
public boolean isIgnoreFailingSubsets()Keep processing other subsets when encountering anAnalysisExceptionon a subset.If all subset fails, an
AllSubSetAnalysesFailedExceptionwill be raised which will contain individual subset failures. -
isUseWeights
public boolean isUseWeights()Set true for RNA-seq data sets -
getFilterMode
Override the default mode of operation for theRepetitiveValuesFilter. -
getMinimumNumberOfAssaysToApplyFilter
Override the minimum number of assays to apply the repetitive value filter.- See Also:
-
getMinimumFractionOfUniqueValues
Override the minimum number of unique values (as a fraction of the number of assays) for a particular design element to apply the filter.- See Also:
-
isMakeArchiveFile
public boolean isMakeArchiveFile()Whether to create archive files. -
getMaxAnalysisTimeMillis
public long getMaxAnalysisTimeMillis()Maximum time to spend on the analysis, in milliseconds. Ignored if zero or less. -
setAnalysisType
Type of analysis to perform. -
setModerateStatistics
public void setModerateStatistics(boolean moderateStatistics) Whether moderated test statistics should be used.This is usually done with the empirical Bayes method.
-
setPersist
public void setPersist(boolean persist) Indicate if this analysis should be persisted. -
setSubsetFactor
Factor to subset the analysis on, if non-null. -
setSubsetFactorValue
If this is non-null, this is a subset analysis for this factor value.Only applicable for analysis on a
ExpressionExperimentSubSet. -
setIgnoreFailingSubsets
public void setIgnoreFailingSubsets(boolean ignoreFailingSubsets) Keep processing other subsets when encountering anAnalysisExceptionon a subset.If all subset fails, an
AllSubSetAnalysesFailedExceptionwill be raised which will contain individual subset failures. -
setUseWeights
public void setUseWeights(boolean useWeights) Set true for RNA-seq data sets -
setFilterMode
Override the default mode of operation for theRepetitiveValuesFilter. -
setMinimumNumberOfAssaysToApplyFilter
public void setMinimumNumberOfAssaysToApplyFilter(@Nullable Integer minimumNumberOfAssaysToApplyFilter) Override the minimum number of assays to apply the repetitive value filter.- See Also:
-
setMinimumFractionOfUniqueValues
Override the minimum number of unique values (as a fraction of the number of assays) for a particular design element to apply the filter.- See Also:
-
setMakeArchiveFile
public void setMakeArchiveFile(boolean makeArchiveFile) Whether to create archive files. -
setMaxAnalysisTimeMillis
public void setMaxAnalysisTimeMillis(long maxAnalysisTimeMillis) Maximum time to spend on the analysis, in milliseconds. Ignored if zero or less. -
equals
-
canEqual
-
hashCode
public int hashCode()
-