Skip to contents

See biomaRT::listAttributes(mart) for list of all options for from_to.

Usage

convert_genes(
  genes,
  from_to = c("ensembl_gene_id", "hgnc_symbol"),
  mart = NULL,
  table = FALSE
)

Arguments

genes

char vector; genes

from_to

length 2 char vector; 1st value is current format (ex. ensemb_gene_id), 2nd value is desired format (ex. hgnc_symbol)

mart

biomaRt Mart object

table

logical; T to return conversion table

Value

char vector with converted gene list to desired format