tests/testthat/test_vis_plot_mutual_info.R

test_that("Basic tests", {
    logFile    <- tempfile(fileext = ".txt")
    configFile <- tempfile()

    startLogger(logFile)
    createConfigFile(configFile)

    testPDS <- readPHGDataSet(
        PHGMethod(
            PHGLocalCon(configFile),
            "PATH_METHOD"
        )
    )

    plotResults <- plotMutualInfo(testPDS)

    expect_true(is(plotResults, "gg"))
})
maize-genetics/rPHG documentation built on April 4, 2024, 11:18 p.m.