query_hgnc_by_genes | R Documentation |
Retrieves data from the HGNC BioMart for a list of gene symbols.
query_hgnc_by_genes(genes, attributes, mart_name = NULL, dataset_name = NULL)
genes |
Character vector of HGNC gene symbols. |
attributes |
Character vector of attribute display names to return. |
mart_name |
Character, optional name or display name of the mart to use (default: first available mart). |
dataset_name |
Character, optional name or display name of the dataset to use (default: first available dataset). |
This function connects to the HGNC BioMart service and retrieves specified attributes for a list of gene symbols. It automatically handles the selection of marts and datasets based on provided parameters.
A data.table with results for matching gene symbols and attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.