h_get_annotation_biomart | R Documentation |
BioMart
Helper function to query annotations from biomaRt
, for cleaned up gene IDs of
a specific ID variable and given biomaRt::Mart
.
h_get_annotation_biomart(gene_ids, id_var, mart)
gene_ids |
( |
id_var |
( |
mart |
( |
A data frame with columns:
id_var
(depending on what was used)
hgnc_symbol
entrezgene_description
chromosome_name
size
refseq_mrna
refseq_peptide
if (interactive()) {
mart <- biomaRt::useMart("ensembl", dataset = "hsapiens_gene_ensembl")
h_get_annotation_biomart(c("11185", "10677"), id_var = "entrezgene_id", mart = mart)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.