public abstract class GeneArg<T> extends AbstractEntityArg<T,Gene,GeneService>
Modifier and Type | Method and Description |
---|---|
List<GeneEvidenceValueObject> |
getGeneEvidence(GeneService geneService,
PhenotypeAssociationManagerService phenotypeAssociationManagerService,
Taxon taxon)
Searches for gene evidence of the gene that this GeneArg represents, on the given taxon.
|
abstract List<PhysicalLocationValueObject> |
getGeneLocation(GeneService geneService)
Returns all known locations of the gene(s) that this GeneArg represents.
|
abstract List<PhysicalLocationValueObject> |
getGeneLocation(GeneService geneService,
Taxon taxon)
Returns all known locations of the gene that this GeneArg represents.
|
List<GeneValueObject> |
getGenesOnTaxon(GeneService geneService,
TaxonService taxonService,
TaxonArg<?> taxonArg) |
List<GeneOntologyTermValueObject> |
getGoTerms(GeneService geneService,
GeneOntologyService geneOntologyService)
Returns GO terms for the gene that this GeneArg represents.
|
abstract List<GeneValueObject> |
getValueObjects(GeneService service) |
static GeneArg<?> |
valueOf(String s)
Used by RS to parse value of request parameters.
|
checkEntity, getEntity, getObjectFilters, getPropertyName
getValue, toString
protected GeneArg(T value)
public static GeneArg<?> valueOf(String s)
s
- the request Gene argumentpublic List<GeneValueObject> getGenesOnTaxon(GeneService geneService, TaxonService taxonService, TaxonArg<?> taxonArg)
geneService
- service that will be used to retrieve the persistent Gene object.public List<GeneEvidenceValueObject> getGeneEvidence(GeneService geneService, PhenotypeAssociationManagerService phenotypeAssociationManagerService, Taxon taxon) throws SearchException
geneService
- service that will be used to retrieve the persistent Gene object.phenotypeAssociationManagerService
- service used to execute the search.taxon
- the taxon to limit the search to. Can be null.SearchException
public abstract List<GeneValueObject> getValueObjects(GeneService service)
service
- the service used to load the Gene value objects.public abstract List<PhysicalLocationValueObject> getGeneLocation(GeneService geneService)
geneService
- service that will be used to retrieve the persistent Gene object.public abstract List<PhysicalLocationValueObject> getGeneLocation(GeneService geneService, Taxon taxon)
geneService
- service that will be used to retrieve the persistent Gene object.taxon
- the taxon to limit the search to. Can be null.public List<GeneOntologyTermValueObject> getGoTerms(GeneService geneService, GeneOntologyService geneOntologyService)
geneService
- service that will be used to retrieve the persistent Gene object.Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.