Class LinkAnalysis
java.lang.Object
ubic.gemma.core.analysis.expression.coexpression.links.LinkAnalysis
Handles the actual coexpression analysis, once handed data that has been prepared. Results are made available at the
end. See LinkAnalysisCli for more instructions. This should be created for each analysis - it's not reusable.
- Author:
- xiangwan, paul (refactoring)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyze()Main entry point.voidclear()Clear/null data so this object can be reused.Gene the genes that were tested, according to the rows that are currently in the dataMatrix (so call this after filtering!)getKeep()getProbe(int index) getProbeDegree(int index) getTaxon()voidsetAnalysisObj(CoexpressionAnalysis analysis) voidsetDataMatrix(ExpressionDataDoubleMatrix paraDataMatrix) voidsetExpressionExperiment(ExpressionExperiment expressionExperiment) voidsetProbeToGeneMap(Map<CompositeSequence, Set<Gene>> probeToGeneMap) Once set, is unmodifiable.void
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
LinkAnalysis
-
-
Method Details
-
analyze
public void analyze()Main entry point. -
clear
public void clear()Clear/null data so this object can be reused. -
getAnalysisObj
- Returns:
- object containing the parameters used.
-
setAnalysisObj
-
getConfig
-
getCorrelationDistribution
-
getDataMatrix
-
setDataMatrix
-
getExpressionExperiment
-
setExpressionExperiment
-
getGenesTested
Gene the genes that were tested, according to the rows that are currently in the dataMatrix (so call this after filtering!)- Returns:
- set
-
getKeep
-
getMetric
-
getMetricMatrix
-
getProbe
-
getProbeDegree
- Parameters:
index- row number in the metrixMatirx- Returns:
- how many Links that probe appears in, or null if the probeDegree has not been populated for that index (that is, either to early to check, or it was zero).
-
getProbeToGeneMap
-
setProbeToGeneMap
Once set, is unmodifiable.- Parameters:
probeToGeneMap- map
-
getTaxon
-
setTaxon
-