R/BioCprobes2Entrez.R

`BioCprobes2Entrez` <-
function (probeslist , anotPkg, na.rm=TRUE)
{
stopifnot(require(anotPkg, character.only = TRUE, quietly=TRUE, warn.conflicts=FALSE))
myenvir<-eval(parse(text = paste(anotPkg,"ENTREZID",sep="")))
myENTREZIDs <- as.character(unlist(mget(probeslist,envir=myenvir, ifnotfound=NA)))
if(na.rm){
  return(myENTREZIDs[!(is.na(myENTREZIDs))])
}else{
  return(myENTREZIDs)}
}

Try the goProfiles package in your browser

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

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.