test_that("test basic functions produce no errors", {
geneList <- c("CXCL10","CXCL9","ERCC1","PNKP","DDX41")
library(ggraph)
expect_error( refseq(geneList), NA)
expect_error( refseq(geneList, ora=TRUE), NA)
expect_error( refseq(geneList, plotType="network"), NA)
expect_error( refseq(geneList,
plotType="network", genePlot=TRUE), NA)
## Test plotEigengeneNetworksWithWords
library(igraph)
mod <- returnExample()
expect_error( plotEigengeneNetworksWithWords(mod$MEs, mod$colors), NA)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.