Class CoexpressionMetaValueObject

    • Constructor Detail

      • CoexpressionMetaValueObject

        public CoexpressionMetaValueObject()
    • Method Detail

      • getErrorState

        public String getErrorState()
      • setErrorState

        public void setErrorState​(String errorState)
      • 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)
      • getQueryStringency

        public int getQueryStringency()
      • setQueryStringency

        public void setQueryStringency​(int queryStringency)
      • getSearchSettings

        public CoexpressionSearchCommand getSearchSettings()
        The original search settings from the client. made to the stringency
        Returns:
        coexp search command
      • setSearchSettings

        public void setSearchSettings​(CoexpressionSearchCommand searchSettings)
        Parameters:
        searchSettings - , should be the original settings
      • isQueryGenesOnly

        public boolean isQueryGenesOnly()
      • setQueryGenesOnly

        public void setQueryGenesOnly​(boolean queryGenesOnly)
      • trim

        @Deprecated
        public void trim()
        Deprecated.
        because this is too ad hoc and messy
        This 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.