Class GeneArgService

  • All Implemented Interfaces:
    EntityArgService<ubic.gemma.model.genome.Gene,​ubic.gemma.core.genome.gene.service.GeneService>

    @Service
    public class GeneArgService
    extends AbstractEntityArgService<ubic.gemma.model.genome.Gene,​ubic.gemma.core.genome.gene.service.GeneService>
    • Constructor Detail

      • GeneArgService

        @Autowired
        public GeneArgService​(ubic.gemma.core.genome.gene.service.GeneService service,
                              ubic.gemma.core.association.phenotype.PhenotypeAssociationManagerService phenotypeAssociationManagerService,
                              ubic.gemma.core.ontology.providers.GeneOntologyService geneOntologyService)
    • Method Detail

      • getEntityWithTaxon

        public ubic.gemma.model.genome.Gene getEntityWithTaxon​(GeneArg<?> arg,
                                                               ubic.gemma.model.genome.Taxon taxon)
      • getValueObjects

        public List<ubic.gemma.model.genome.gene.GeneValueObject> getValueObjects​(GeneArg<?> arg)
        Returns:
        all genes that match the value of the GeneArg.
      • getGeneLocation

        public List<ubic.gemma.model.genome.PhysicalLocationValueObject> getGeneLocation​(GeneArg<?> geneArg)
        Returns all known locations of the gene(s) that this GeneArg represents.
        Returns:
        collection of physical location objects.
      • getGeneLocation

        public List<ubic.gemma.model.genome.PhysicalLocationValueObject> getGeneLocation​(GeneArg<?> arg,
                                                                                         ubic.gemma.model.genome.Taxon taxon)
        Returns all known locations of the gene that this GeneArg represents.
        Parameters:
        taxon - the taxon to limit the search to. Can be null.
        Returns:
        collection of physical location objects.
      • getGenesOnTaxon

        public List<ubic.gemma.model.genome.gene.GeneValueObject> getGenesOnTaxon​(GeneArg<?> arg,
                                                                                  ubic.gemma.model.genome.Taxon taxon)
        Returns:
        a collection of Gene value objects..
      • getGeneEvidence

        @Deprecated
        public List<ubic.gemma.model.genome.gene.phenotype.valueObject.GeneEvidenceValueObject> getGeneEvidence​(GeneArg<?> arg,
                                                                                                                @Nullable
                                                                                                                ubic.gemma.model.genome.Taxon taxon)
                                                                                                         throws ubic.gemma.core.search.SearchException
        Deprecated.
        Searches for gene evidence of the gene that this GeneArg represents, on the given taxon.
        Parameters:
        taxon - the taxon to limit the search to. Can be null.
        Returns:
        collection of gene evidence VOs matching the criteria, or an error response, if there is an error.
        Throws:
        ubic.gemma.core.search.SearchException
      • getGoTerms

        public List<ubic.gemma.model.genome.GeneOntologyTermValueObject> getGoTerms​(GeneArg<?> arg)
        Returns GO terms for the gene that this GeneArg represents.
        Returns:
        collection of physical location objects.