inst/unitTests/test_goLeaves.R

##test_goLeaves.r
##2014-11-19 dmontaner@cipf.es
##UnitTesting

## rm (list = ls ())
## R.version.string ##"R version 3.1.1 (2014-07-10)"
## library (mdgsa); packageDescription ("mdgsa", fields = "Version") #"0.99.1"
## library (RUnit); packageDescription ("RUnit", fields = "Version") #"0.4.27"
## ## help (package = RUnit)

test_goLeaves <- function () {
    tgt <- c ("GO:0006259", "GO:0043280")
    cur <- goLeaves (c ("GO:0006259", "GO:0006915", "GO:0043280"))    
    checkIdentical (tgt, cur)
}

#test_goLeaves ()

Try the mdgsa package in your browser

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

mdgsa documentation built on Nov. 8, 2020, 5:05 p.m.