Get gene description from BioMart
Usage
get_gene_desc(
genes,
attrs = c("hgnc_symbol", "description"),
clean_desc = TRUE,
mart = NULL,
verbose = FALSE
)Arguments
- genes
character vector; genes of interest
- attrs
character vector; valid attributes from
biomaRt::listAttributes(mart)- clean_desc
logical; T to remove "[Source: ...]" from description field
- mart
Mart object; will generate one if not provided
- verbose
logical; output
biomaRtmessages to console