View source: R/drugTargetAnnotations_Fct.R
getSymEnsUp | R Documentation |
The getSymEnsUp
function returns for a query of gene or protein IDs a mapping
table containing: ENSEMBL Gene IDs, Gene Names/Symbols, UniProt IDs and ENSEMBL
Protein IDs. Subsequent slots contain the corresponding named character vectors.
Internally, the function uses the ensembldb
package.
getSymEnsUp(EnsDb = "EnsDb.Hsapiens.v86", ids, idtype)
EnsDb |
|
ids |
Character vector with IDs matching the type specified under |
idtype |
Character vector of length one containing one of: |
List object with following components:
idDF |
ID mapping |
ens_gene_id |
named character vector |
up_ens_id |
named character vector |
up_gene_id |
named character vector |
Thomas Girke
gene_name <- c("CA7", "CFTR") getSymEnsUp(EnsDb="EnsDb.Hsapiens.v86", ids=gene_name, idtype="GENE_NAME")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.