convert_from_ensembl: For H. sapiens, converts ensembl IDs to entrez IDs, symbol or...

View source: R/fct_go.R

convert_from_ensemblR Documentation

For H. sapiens, converts ensembl IDs to entrez IDs, symbol or name

Description

For H. sapiens, converts ensembl IDs to entrez IDs, symbol or name

Usage

convert_from_ensembl(ids, to = "entrez")

Arguments

ids

genes to convert, ensembl

to

value in c("entrez", "symbol", "name")

Value

named vector

Examples

if(require("org.Hs.eg.db")){
genes <- c("ENSG00000000003", "ENSG00000003989", "ENSG00000005884", "ENSG00000007168")
convert_from_ensembl(genes)
convert_from_ensembl(genes, to = "symbol")
}


OceaneCsn/DIANE documentation built on Jan. 10, 2024, 6:43 p.m.