R/dgetGO.R

Defines functions `dgetGO`

`dgetGO` <-
function(path="", fileName){
### POSSIBLEMENT A SUPRIMIR
        gObject <- dget(paste(path,fileName,sep=""))
        goVector <- gObject[!is.na(names(gObject))]
        goSum <- sum(goVector)
        goVector <- goVector / goSum
        n <- attr(gObject,"n")
        if (is.null(n))
                attr(goVector,"ngenes") <- goSum
        else
                attr(goVector,"ngenes") <- n
        return(goVector)
}

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.