tests/testthat/test-bnpathplot.R

test_that("bnpathplot: not produce errors in variou parameters", {
    data("exampleEaRes");data("exampleGeneExp");
    R <- 5
    expect_error( bnpathplot(exampleEaRes, exampleGeneExp, R = R), NA)
    expect_error( bnpathplot(exampleEaRes, exampleGeneExp, disc = T, R = R), NA)

    # Custom
    expect_error( bnpathplotCustom(exampleEaRes, exampleGeneExp,
    R = R, glowEdgeNum=3, hub=3), NA)
})
noriakis/CBNplotTest documentation built on Nov. 18, 2022, 8:05 a.m.