inst/UnitTests/hyperGTest_PFAM_test.R

library("Category")
library("org.Sc.sgd.db")

test_PFAM1 <- function() {
    set.seed(434)    
    allYeast <- ls(org.Sc.sgdCHR)
    selGenes <- sample(allYeast, 80)
    pp <- new("PFAMHyperGParams",
              geneIds=selGenes,
              annotation="org.Sc.sgd")
    ans <- hyperGTest(pp)
    checkEquals("PFAM", testName(ans))
}

Try the Category package in your browser

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

Category documentation built on Nov. 8, 2020, 10:58 p.m.