nameID: Retrieve gene symbols (hgnc) for Ensembl gene IDs with...

View source: R/go-related.R

nameIDR Documentation

Retrieve gene symbols (hgnc) for Ensembl gene IDs with biomaRt

Description

function which has generated "gene.mapID"

Usage

nameID(geneID, out = "nameOnly", ens)

Arguments

geneID

vector of Ensembl gene ids

out

'all' for a named vector where the gene symbol are the content and the Ensembl ids are the names 'DF' for a data.frame where the first column contains the Ensembl ids and the second one the gene symbols. 'nameOnly' for the gene symbols only

ens

Formal class 'Mart' from package biomaRt

Value

gene symbols (with or without their corresponding Ensembl ids)


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.