seekX2Y: Conversion between different genes IDs within the same...

Description Usage Arguments Details Value Examples

View source: R/x2y.R

Description

#' Imports: AnnotationDbi, org.Hs.eg.db, org.Mm.eg.db,

Usage

1
seekX2Y(x, xtype, ytype, species)

Arguments

x

vector of characters, the gene IDs of the type 'xtype'

xtype

character, indicating the gene ID type of the input 'x', e.g. "ENTREZID", "SYMBOL", etc.

ytype

character, indicating the desired gene ID type for the output, e.g. "ENTREZID", "SYMBOL", etc.

species

character, specifying the species, must be either "human" or "mouse"

Details

calls mapIds from the AnnotationDbi package. Option multivals is set to "first"

Value

a vector of characters, the gene IDs of the output type 'ytype'

Examples

1
2
myGenes <- c("KRT83","CD80","SLC14A1")
seekX2Y(myGenes, "SYMBOL", "ENTREZID", "human")

Solatar/seeqR documentation built on Feb. 19, 2021, 8:07 p.m.