Class CoexpressionMetaValueObject
java.lang.Object
ubic.gemma.core.analysis.expression.coexpression.CoexpressionMetaValueObject
- All Implemented Interfaces:
Serializable
- Author:
- luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintA sorted list of the results (sorting must be done elsewhere!)The original search settings from the client.booleanvoidsetErrorState(String errorState) voidsetMaxEdges(int maxEdges) Override the value of gemma.cytoscapeweb.maxEdges (or DEFAULT_MAX_EDGES_PER_GRAPH )voidsetNumDatasetsQueried(int numDatasetsQueried) voidsetQueryGenes(Collection<GeneValueObject> queryGenes) voidsetQueryGenesOnly(boolean queryGenesOnly) voidsetQueryStringency(int queryStringency) voidsetResults(List<CoexpressionValueObjectExt> results) voidsetSearchSettings(CoexpressionSearchCommand searchSettings) voidsetSummaries(Map<Long, CoexpressionSummaryValueObject> summary) toString()voidtrim()Deprecated.because this is too ad hoc and messy
-
Constructor Details
-
CoexpressionMetaValueObject
public CoexpressionMetaValueObject()
-
-
Method Details
-
getErrorState
-
setErrorState
-
getMaxEdges
public int getMaxEdges()- Returns:
- How many edges total are we allowed to have in the graph? Above this, they can get trimmed.
-
setMaxEdges
public void setMaxEdges(int maxEdges) Override the value of gemma.cytoscapeweb.maxEdges (or DEFAULT_MAX_EDGES_PER_GRAPH )- Parameters:
maxEdges- max edges
-
getNumDatasetsQueried
public int getNumDatasetsQueried() -
setNumDatasetsQueried
public void setNumDatasetsQueried(int numDatasetsQueried) - Parameters:
numDatasetsQueried- the number of data sets which were actually used in the query (a subset of those requested by the user if they didn't have coexpression analysis done)
-
getQueryGenes
-
setQueryGenes
-
getQueryStringency
public int getQueryStringency() -
setQueryStringency
public void setQueryStringency(int queryStringency) -
getResults
A sorted list of the results (sorting must be done elsewhere!)- Returns:
- coexp VOs
-
setResults
- Parameters:
results- please be sorted.
-
getSearchSettings
The original search settings from the client. made to the stringency- Returns:
- coexp search command
-
setSearchSettings
- Parameters:
searchSettings- , should be the original settings
-
getSummaries
-
setSummaries
-
isQueryGenesOnly
public boolean isQueryGenesOnly() -
setQueryGenesOnly
public void setQueryGenesOnly(boolean queryGenesOnly) -
toString
-
trim
Deprecated.because this is too ad hoc and messyThis method just removes low stringency results until it goes below the limit, regardless of whether the genes involved were query genes or not. This means, in effect, the original query could have been done at this higher stringency. The other trim method only removes non-query gene edges, so it is suitable for large 'query genes only'. Warning, this method can remove results that user may have expected.
-