Package ubic.gemma.core.search
Class GeneSetSearchImpl
- java.lang.Object
- 
- ubic.gemma.core.search.GeneSetSearchImpl
 
- 
- All Implemented Interfaces:
- GeneSetSearch
 
 @Component public class GeneSetSearchImpl extends Object implements GeneSetSearch - Author:
- paul
 
- 
- 
Constructor SummaryConstructors Constructor Description GeneSetSearchImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<GeneSet>findByGene(Gene gene)GeneSetfindByGoId(String goId, Taxon taxon)Finds gene sets by exact match to goTermId eg: GO:0000002 Note: the gene set returned is not persistent.Collection<GeneSet>findByGoTermName(String goTermName, Taxon taxon)finds gene sets by go term name eg: "trans-hexaPrenylTransTransferase activity" Note: the gene sets returned are not persistentCollection<GeneSet>findByGoTermName(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 persistentCollection<GeneSet>findByName(String name)Collection<GeneSet>findByName(String name, Taxon taxon)Collection<GeneSetValueObject>findByPhenotypeName(String phenotypeQuery, Taxon taxon)Collection<GeneSet>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 GeneSetValueObjectsGOGroupValueObjectfindGeneSetValueObjectByGoId(String goId, Long taxonId)Finds gene sets by exact match to goTermId eg: GO:0000002 Note: the gene set returned is not persistent.
 
- 
- 
- 
Method Detail- 
findByGenepublic Collection<GeneSet> findByGene(Gene gene) - Specified by:
- findByGenein interface- GeneSetSearch
- Parameters:
- gene- gene
- Returns:
- gene sets
- See Also:
- GeneSetService.findByGene(ubic.gemma.model.genome.Gene)
 
 - 
findGeneSetValueObjectByGoIdpublic GOGroupValueObject findGeneSetValueObjectByGoId(String goId, @Nullable Long taxonId) 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 interface- GeneSetSearch
- Parameters:
- goId- go id
- taxonId- taxon id
- Returns:
- a GeneSet or null if nothing is found
 
 - 
findByGoId@Nullable public GeneSet findByGoId(String goId, @Nullable Taxon taxon) 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 interface- GeneSetSearch
- Parameters:
- goId- go id
- taxon- taxon
- Returns:
- a GeneSet or null if nothing is found
 
 - 
findByGoTermNamepublic 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 interface- GeneSetSearch
- Parameters:
- goTermName- go term name
- taxon- taxon
- Returns:
- a collection with the hits
- Throws:
- SearchException
 
 - 
findByGoTermNamepublic 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 interface- GeneSetSearch
- Parameters:
- goTermName- go term name
- taxon- taxon
- maxGoTermsProcessed- max go terms
- maxGeneSetSize- max gene set size
- Returns:
- a collection with the hits
- Throws:
- SearchException
 
 - 
findByNamepublic Collection<GeneSet> findByName(String name) - Specified by:
- findByNamein interface- GeneSetSearch
- Parameters:
- name- name
- Returns:
- gene sets
- See Also:
- GeneSetService.findByName(java.lang.String)
 
 - 
findByNamepublic Collection<GeneSet> findByName(String name, Taxon taxon) - Specified by:
- findByNamein interface- GeneSetSearch
- Parameters:
- name- name
- taxon- taxon
- Returns:
- gene sets
 
 - 
findGeneSetsByNamepublic Collection<GeneSet> findGeneSetsByName(String query, Long taxonId) throws SearchException 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 interface- GeneSetSearch
- Parameters:
- query- string to match to a gene set.
- taxonId- taxon id
- Returns:
- collection of GeneSet
- Throws:
- SearchException
 
 - 
findByPhenotypeNamepublic Collection<GeneSetValueObject> findByPhenotypeName(String phenotypeQuery, Taxon taxon) throws SearchException - Specified by:
- findByPhenotypeNamein interface- GeneSetSearch
- Throws:
- SearchException
 
 
- 
 
-