get_gene_locations | R Documentation |
Retrieve the physical locations of a given gene
get_gene_locations(
gene,
raw = getOption("gemma.raw", FALSE),
memoised = getOption("gemma.memoised", FALSE),
file = getOption("gemma.file", NA_character_),
overwrite = getOption("gemma.overwrite", FALSE)
)
gene |
An ensembl gene identifier which typically starts with ensg or an ncbi gene identifier or an official gene symbol approved by hgnc |
raw |
|
memoised |
Whether or not to save to cache for future calls with the
same inputs and use the result saved in cache if a result is already saved.
Doing |
file |
The name of a file to save the results to, or |
overwrite |
Whether or not to overwrite if a file exists at the specified filename. |
A data table with information about the physical location of the
queried gene. A list if raw = TRUE
. A 404 error
if the given identifier does not map to any object.
The fields of the output data.table are:
chromosome
: Name of the chromosome the gene is located
strand
: Which strand the gene is located
nucleotide
: Nucleotide number for the gene
length
: Gene length
taxon.name
: Name of the taxon
taxon.scientific
: Scientific name for the taxon
taxon.ID
: Internal ID for the taxon given by Gemma
taxon.NCBI
: NCBI ID for the taxon
taxon.database.name
: Name of the database used in Gemma for the taxon
get_gene_locations("DYRK1A")
get_gene_locations(1859)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.