Package ubic.gemma.core.search
Class GeneSetSearchImpl
java.lang.Object
ubic.gemma.core.search.GeneSetSearchImpl
- All Implemented Interfaces:
GeneSetSearch
- Author:
- paul
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByGene(Gene gene) findByGoId(String goId, Taxon taxon) Finds gene sets by exact match to goTermId eg: GO:0000002 Note: the gene set returned is not persistent.findByGoTermName(String goTermName, Taxon taxon) finds gene sets by go term name eg: "trans-hexaPrenylTransTransferase activity" Note: the gene sets returned are not persistentfindByGoTermName(String goTermName, Taxon taxon, Integer maxGoTermsProcessed, Integer maxGeneSetSize) finds genesets by go term name eg: "trans-hexaPrenylTransTransferase activity" Note: the gene sets returned are not persistentfindByName(String name) findByName(String name, Taxon taxon) findGeneSetsByName(String query, Long taxonId) Similar to method of same name in GeneSetController.java but here: - no taxon needed - GO groups always searched - GeneSet objects returned instead of GeneSetValueObjectsfindGeneSetValueObjectByGoId(String goId, Long taxonId) Finds gene sets by exact match to goTermId eg: GO:0000002 Note: the gene set returned is not persistent.
-
Constructor Details
-
GeneSetSearchImpl
public GeneSetSearchImpl()
-
-
Method Details
-
findByGene
- Specified by:
findByGenein interfaceGeneSetSearch- Parameters:
gene- gene- Returns:
- gene sets
- See Also:
-
findGeneSetValueObjectByGoId
Description copied from interface:GeneSetSearchFinds gene sets by exact match to goTermId eg: GO:0000002 Note: the gene set returned is not persistent.- Specified by:
findGeneSetValueObjectByGoIdin interfaceGeneSetSearch- Parameters:
goId- go idtaxonId- taxon id- Returns:
- a GeneSet or null if nothing is found
-
findByGoId
Description copied from interface:GeneSetSearchFinds gene sets by exact match to goTermId eg: GO:0000002 Note: the gene set returned is not persistent.- Specified by:
findByGoIdin interfaceGeneSetSearch- Parameters:
goId- go idtaxon- taxon- Returns:
- a GeneSet or null if nothing is found
-
findByGoTermName
public Collection<GeneSet> findByGoTermName(String goTermName, @Nullable Taxon taxon) throws SearchException Description copied from interface:GeneSetSearchfinds gene sets by go term name eg: "trans-hexaPrenylTransTransferase activity" Note: the gene sets returned are not persistent- Specified by:
findByGoTermNamein interfaceGeneSetSearch- Parameters:
goTermName- go term nametaxon- taxon- Returns:
- a collection with the hits
- Throws:
SearchException
-
findByGoTermName
public Collection<GeneSet> findByGoTermName(String goTermName, @Nullable Taxon taxon, @Nullable Integer maxGoTermsProcessed, @Nullable Integer maxGeneSetSize) throws SearchException Description copied from interface:GeneSetSearchfinds genesets by go term name eg: "trans-hexaPrenylTransTransferase activity" Note: the gene sets returned are not persistent- Specified by:
findByGoTermNamein interfaceGeneSetSearch- Parameters:
goTermName- go term nametaxon- taxonmaxGoTermsProcessed- max go termsmaxGeneSetSize- max gene set size- Returns:
- a collection with the hits
- Throws:
SearchException
-
findByName
- Specified by:
findByNamein interfaceGeneSetSearch- Parameters:
name- name- Returns:
- gene sets
- See Also:
-
findByName
- Specified by:
findByNamein interfaceGeneSetSearch- Parameters:
name- nametaxon- taxon- Returns:
- gene sets
-
findGeneSetsByName
Description copied from interface:GeneSetSearchSimilar to method of same name in GeneSetController.java but here: - no taxon needed - GO groups always searched - GeneSet objects returned instead of GeneSetValueObjects- Specified by:
findGeneSetsByNamein interfaceGeneSetSearch- Parameters:
query- string to match to a gene set.taxonId- taxon id- Returns:
- collection of GeneSet
- Throws:
SearchException
-