R/frelGO.R

Defines functions `frelGO`

`frelGO` <-
function(pGO) {
    n <- sum(pGO)
    pGO <- pGO / n
    if (!has.ngenes.attr(pGO))
        attr(pGO,"ngenes") <- n
    return(pGO)
}
alexsanchezpla/goProfiles documentation built on May 28, 2019, 4:54 p.m.