Class DifferentialExpressionAnalysisConfig
- 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 TypeMethodDescriptionvoidaddFactorsToInclude(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.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 be included in the analysis.Override the minimum number of cells for a particular gene to be included in the analysis.Override the minimum number of cells for a particular sample to be included in the analysis.Override the minimum number of samples to apply the repetitive value filter.Override the minimum variance for a particular design element to be included in the analysis.Override the default mode of operation for theRepetitiveValuesFilter.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.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 be included in the analysis.voidsetMinimumNumberOfCellsPerGene(Integer minimumNumberOfCellsPerGene) Override the minimum number of cells for a particular gene to be included in the analysis.voidsetMinimumNumberOfCellsPerSample(Integer minimumNumberOfCellsPerSample) Override the minimum number of cells for a particular sample to be included in the analysis.voidsetMinimumNumberOfSamplesToApplyRepetitiveValuesFilter(Integer minimumNumberOfSamplesToApplyRepetitiveValuesFilter) Override the minimum number of samples to apply the repetitive value filter.voidsetMinimumVariance(Double minimumVariance) Override the minimum variance for a particular design element to be included in the analysis.voidsetModerateStatistics(boolean moderateStatistics) Whether moderated test statistics should be used.voidsetPersist(boolean persist) Indicate if this analysis should be persisted.voidsetRepetitiveValuesFilterMode(DifferentialExpressionAnalysisFilter.RepetitiveValuesFilterMode repetitiveValuesFilterMode) Override the default mode of operation for theRepetitiveValuesFilter.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
-
getAnalysisType
Type of analysis to perform. -
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 -
getMinimumNumberOfCellsPerSample
Override the minimum number of cells for a particular sample to be included in the analysis.This is only applied if
ExpressionDataDoubleMatrix.getNumberOfCells()orBioAssay.getNumberOfCells()is populated. Note that theBioAssay-level number of cells is only considered for preferred QTs.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_NUMBER_OF_CELLS_PER_SAMPLE. -
getMinimumNumberOfCellsPerGene
Override the minimum number of cells for a particular gene to be included in the analysis.This is only applied if
ExpressionDataDoubleMatrix.getNumberOfCells()is populated.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_NUMBER_OF_CELLS_PER_GENE. -
getRepetitiveValuesFilterMode
@Nullable public DifferentialExpressionAnalysisFilter.RepetitiveValuesFilterMode getRepetitiveValuesFilterMode()Override the default mode of operation for theRepetitiveValuesFilter.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_REPETITIVE_VALUES_FILTER_MODE -
getMinimumNumberOfSamplesToApplyRepetitiveValuesFilter
Override the minimum number of samples to apply the repetitive value filter.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_NUMBER_OF_SAMPLES_TO_APPLY_REPETITIVE_VALUES_FILTER -
getMinimumFractionOfUniqueValues
Override the minimum number of unique values (as a fraction of the number of assays) for a particular design element to be included in the analysis.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_FRACTION_OF_UNIQUE_VALUES. -
getMinimumVariance
Override the minimum variance for a particular design element to be included in the analysis.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_VARIANCE. -
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 -
setMinimumNumberOfCellsPerSample
Override the minimum number of cells for a particular sample to be included in the analysis.This is only applied if
ExpressionDataDoubleMatrix.getNumberOfCells()orBioAssay.getNumberOfCells()is populated. Note that theBioAssay-level number of cells is only considered for preferred QTs.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_NUMBER_OF_CELLS_PER_SAMPLE. -
setMinimumNumberOfCellsPerGene
Override the minimum number of cells for a particular gene to be included in the analysis.This is only applied if
ExpressionDataDoubleMatrix.getNumberOfCells()is populated.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_NUMBER_OF_CELLS_PER_GENE. -
setRepetitiveValuesFilterMode
public void setRepetitiveValuesFilterMode(@Nullable DifferentialExpressionAnalysisFilter.RepetitiveValuesFilterMode repetitiveValuesFilterMode) Override the default mode of operation for theRepetitiveValuesFilter.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_REPETITIVE_VALUES_FILTER_MODE -
setMinimumNumberOfSamplesToApplyRepetitiveValuesFilter
public void setMinimumNumberOfSamplesToApplyRepetitiveValuesFilter(@Nullable Integer minimumNumberOfSamplesToApplyRepetitiveValuesFilter) Override the minimum number of samples to apply the repetitive value filter.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_NUMBER_OF_SAMPLES_TO_APPLY_REPETITIVE_VALUES_FILTER -
setMinimumFractionOfUniqueValues
Override the minimum number of unique values (as a fraction of the number of assays) for a particular design element to be included in the analysis.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_FRACTION_OF_UNIQUE_VALUES. -
setMinimumVariance
Override the minimum variance for a particular design element to be included in the analysis.Defaults to
DifferentialExpressionAnalysisFilter.DEFAULT_MINIMUM_VARIANCE. -
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() -
toString
-