ensIDtoName | R Documentation |
'ensIDtoName' convert ensembl ID to gene name for more human readibility. It takes a dataframe or matrix with ensembl gene ID as row names and then convert them to common gene name. The default species name is hsapiens. You can also specify the name of species you are interested in. There are some situation you will face duplicated row names after convert. Therefore, please consider first subset the data before conversion.
ensIDtoName(df, species = "hsapiens")
df |
a dataframe which has ensembl ID as row names |
species |
the scientific abbreviation name of a species, such as hsapiens for homo sapiens (human). The default is hsapiens. |
a dataframe(matrix) with gene name in row names
data(hmchimpGene)
data(hmKZNFs337)
dfKZNFs <-
hmchimpGene[rownames(hmchimpGene) %in% hmKZNFs337$ensembl_gene_id, ]
df <- ensIDtoName(dfKZNFs, "hsapiens")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.