R/haveEntrezID.R

`haveEntrezID` <-
function (probeslist, anotPkg)
{
 stopifnot(require(anotPkg, character.only=TRUE, quietly=TRUE))
 myenvirENTREZID<-eval(parse(text = paste(anotPkg,"ENTREZID",sep="")))
 return(sapply(mget(probeslist, myenvirENTREZID, ifnotfound=NA),
                 function(x) if (length(x) == 1 && is.na(x)) FALSE else TRUE))
}

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.