geneInfo | R Documentation |
geneInfo
geneInfo( gene, request = NULL, ..., file = NULL, return = TRUE, overwrite = FALSE, memoised = FALSE )
gene |
Can either be the NCBI ID (1859), Ensembl ID (ENSG00000157540) or official symbol (DYRK1A) of the gene. NCBI ID is the most efficient (and guaranteed to be unique) identifier. Official symbol represents a gene homologue for a random taxon, unless used in a specific taxon (see the Taxa Endpoints). If a vector of length>1 is provided all matching gene objects will be returned. |
request |
Character. If NULL retrieves all genes matching the identifier. Otherwise
|
... |
Use if the specified request has additional parameters. |
file |
Character. File path. If provided, response will be saved to file |
return |
Logical. If the response should be returned. Set to false when you only want to save a file |
overwrite |
Logical. If TRUE, existing files will be overwritten. If FALSE a warning will be thrown and no action is taken. |
memoised |
Logical. If TRUE a memoised version of the function will be
used which is faster for repeated requests. Use |
A list
geneInfo(1859) geneInfo('1859') # single match it is a unique NCBI id geneInfo('DYRK1A') # this returns all genes named DYRK1A from all species geneInfo('1859','goTerms') geneInfo('1859','locations') geneInfo('1859','probes') geneInfo('1859','evidence')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.