R/getSymbolFromGene.R

Defines functions getSymbolFromGene

Documented in getSymbolFromGene

getSymbolFromGene <-
function(geneList){
    if(!exists("k2ri")) k2ri<-initializeK2ri()
      geneList <- as.character(geneList)
      gene2symbol <- GetK2riData("gene2symbol")
      symbolList  <- unique(as.character(gene2symbol[gene2symbol[,1] %in% geneList,2]))
      return(symbolList)
}

Try the SubpathwayGMir package in your browser

Any scripts or data that you put into this service are public.

SubpathwayGMir documentation built on May 2, 2019, 2:39 a.m.