Class OutlierDetectionServiceImpl
- java.lang.Object
-
- ubic.gemma.core.analysis.preprocess.OutlierDetectionServiceImpl
-
- All Implemented Interfaces:
OutlierDetectionService
@Service public class OutlierDetectionServiceImpl extends Object implements OutlierDetectionService
Methods to (attempt to) detect outliers in data sets.- Author:
- paul
-
-
Constructor Summary
Constructors Constructor Description OutlierDetectionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<OutlierDetails>getOutlierDetails(ExpressionExperiment ee)Obtain existing outlier details from a previousOutlierDetectionService.identifyOutliersByMedianCorrelation(ExpressionExperiment)invocation.Collection<OutlierDetails>identifyOutliersByMedianCorrelation(DoubleMatrix<BioAssay,BioAssay> cormat)Identify outliers by sorting by median, then looking for non-overlap of first quartile-second quartile range This is exposed for efficiency in geeq score calculation, use this#identifyOutliers(ExpressionExperiment, boolean, boolean) to have the correlation matrix computed correctly for you.Collection<OutlierDetails>identifyOutliersByMedianCorrelation(ExpressionExperiment ee)Identify outliers by median correlation for the given dataset.
-
-
-
Method Detail
-
getOutlierDetails
@Nullable public Collection<OutlierDetails> getOutlierDetails(ExpressionExperiment ee)
Description copied from interface:OutlierDetectionServiceObtain existing outlier details from a previousOutlierDetectionService.identifyOutliersByMedianCorrelation(ExpressionExperiment)invocation.- Specified by:
getOutlierDetailsin interfaceOutlierDetectionService- Returns:
- outlier details or
nullif none exist.
-
identifyOutliersByMedianCorrelation
public Collection<OutlierDetails> identifyOutliersByMedianCorrelation(ExpressionExperiment ee)
Description copied from interface:OutlierDetectionServiceIdentify outliers by median correlation for the given dataset.- Specified by:
identifyOutliersByMedianCorrelationin interfaceOutlierDetectionService- Parameters:
ee- The experiment to identify sample outliers in.- Returns:
- the information about the identified outliers.
- See Also:
OutlierDetectionService.identifyOutliersByMedianCorrelation(DoubleMatrix)
-
identifyOutliersByMedianCorrelation
public Collection<OutlierDetails> identifyOutliersByMedianCorrelation(DoubleMatrix<BioAssay,BioAssay> cormat)
Description copied from interface:OutlierDetectionServiceIdentify outliers by sorting by median, then looking for non-overlap of first quartile-second quartile range This is exposed for efficiency in geeq score calculation, use this#identifyOutliers(ExpressionExperiment, boolean, boolean) to have the correlation matrix computed correctly for you.- Specified by:
identifyOutliersByMedianCorrelationin interfaceOutlierDetectionService- Parameters:
cormat- the correlation matrix to identify outliers in.- Returns:
- the information about the identified outliers.
-
-