R/entrez_to_name.R

Defines functions entrez_to_name

#' @import org.Hs.eg.db
entrez_to_name<-function(list_of_ent){
  ln<-length(list_of_ent[[1]])
  list_of_ent<-list_of_ent[[1]]
  out<-unlist(lapply(1:ln, function(i){
    return(annotate::lookUp(list_of_ent[i],'org.Hs.eg', 'SYMBOL'))
  }))
  return(out)
}

Try the AutoPipe package in your browser

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

AutoPipe documentation built on May 1, 2019, 7:28 p.m.