idconvert: Convert id between different type

View source: R/misc.R

idconvertR Documentation

Convert id between different type

Description

Convert ID between ENTREZID to SYMBOL or other type ID based on bioconductor annotation package

Usage

idconvert(species, keys, fkeytype, tkeytype)

Arguments

species

species of gene

keys

input gene id

fkeytype

input gene id type

tkeytype

output gene id type

Value

vector

Author(s)

Kai Guo

Examples

## Not run: 
hsako<-buildAnnot(species="human",keytype="SYMBOL",anntype = "KEGG")
hsako<-as.data.frame(hsako)
gene=sample(unique(hsako$GeneID),1000)
id<-idconvert(species="human",fkeytype="SYMBOL",tkeytype="ENTREZID")

## End(Not run)

guokai8/scGSVA documentation built on Nov. 15, 2024, 12:54 a.m.