Class DifferentialExpressionAnalysisTaskCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.analysis.diffex.DifferentialExpressionAnalysisTaskCommand
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DifferentialExpressionAnalysisRemoveTaskCommand
A command object to be used by spaces.
- Author:
- keshav
- See Also:
-
Field Summary
Fields inherited from class TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS -
Constructor Summary
ConstructorsConstructorDescriptionDifferentialExpressionAnalysisTaskCommand(boolean forceAnalysis, ExpressionExperiment expressionExperiment) DifferentialExpressionAnalysisTaskCommand(ExpressionExperiment ee, DifferentialExpressionAnalysis toRedo) -
Method Summary
Modifier and TypeMethodDescriptionProposed analysis type.The factors to actually use in the analysis.Class<? extends Task<? extends TaskCommand>> Obtain the class of theTaskobject that will be run for this command.booleanbooleanWhether interactions among the factors should be included.booleanWhether to moderate test statistics via empirical BayesbooleanWhether to use weighted regression based on mean-variance relationships (voom)voidsetAnalysisType(AnalysisType analysisType) Proposed analysis type.voidsetExpressionExperiment(ExpressionExperiment expressionExperiment) voidsetFactors(Collection<ExperimentalFactor> factors) The factors to actually use in the analysis.voidsetForceAnalysis(boolean forceAnalysis) voidsetIncludeInteractions(boolean includeInteractions) Whether interactions among the factors should be included.voidsetModerateStatistics(boolean moderateStatistics) Whether to moderate test statistics via empirical BayesvoidsetSubsetFactor(ExperimentalFactor subsetFactor) voidvoidsetUseWeights(boolean useWeights) Whether to use weighted regression based on mean-variance relationships (voom)Methods inherited from class TaskCommand
getMaxQueueMillis, getMaxRuntimeMillis, getPersistJobDetails, getSecurityContext, getSubmitter, isEmailAlert, setEmailAlert, setMaxQueueMillis, setMaxRuntimeMillis, setPersistJobDetails
-
Constructor Details
-
DifferentialExpressionAnalysisTaskCommand
-
DifferentialExpressionAnalysisTaskCommand
public DifferentialExpressionAnalysisTaskCommand(ExpressionExperiment ee, DifferentialExpressionAnalysis toRedo) -
DifferentialExpressionAnalysisTaskCommand
public DifferentialExpressionAnalysisTaskCommand(boolean forceAnalysis, ExpressionExperiment expressionExperiment)
-
-
Method Details
-
getTaskClass
Description copied from class:TaskCommandObtain the class of theTaskobject that will be run for this command.If null, the task command cannot be submitted through
TaskRunningService.submitTaskCommand(TaskCommand)and a task object must be explicitly created.For now, this how we map from TaskCommand to Task that actually runs it. We have to have this mapping somewhere until we make Tasks themselves serializable. Tasks are not readily serializable because they have dependencies to Spring services. at which point TaskCommand can be deprecated(or remain as TaskContext).
- Overrides:
getTaskClassin classTaskCommand
-
getAnalysisType
Proposed analysis type. If null the system tries to figure it out. -
getExpressionExperiment
-
getFactors
The factors to actually use in the analysis. If null the system tries to figure it out. -
isForceAnalysis
public boolean isForceAnalysis() -
isIncludeInteractions
public boolean isIncludeInteractions()Whether interactions among the factors should be included. The implementation may limit this to two-way interactions for only up to two factors, so this may not have the effect desired. -
isModerateStatistics
public boolean isModerateStatistics()Whether to moderate test statistics via empirical Bayes -
getSubsetFactor
-
getToRedo
-
isUseWeights
public boolean isUseWeights()Whether to use weighted regression based on mean-variance relationships (voom) -
setAnalysisType
Proposed analysis type. If null the system tries to figure it out. -
setExpressionExperiment
-
setFactors
The factors to actually use in the analysis. If null the system tries to figure it out. -
setForceAnalysis
public void setForceAnalysis(boolean forceAnalysis) -
setIncludeInteractions
public void setIncludeInteractions(boolean includeInteractions) Whether interactions among the factors should be included. The implementation may limit this to two-way interactions for only up to two factors, so this may not have the effect desired. -
setModerateStatistics
public void setModerateStatistics(boolean moderateStatistics) Whether to moderate test statistics via empirical Bayes -
setSubsetFactor
-
setToRedo
-
setUseWeights
public void setUseWeights(boolean useWeights) Whether to use weighted regression based on mean-variance relationships (voom)
-