tests/testthat/test-plotPcaCovariates.R

test_that("plotPcaCovariates", {
    x <- plotPcaCovariates(object)
    expect_type(x, "list")
    expected <- c(
        "plot",
        "corMatrix",
        "pcsMatrix",
        "scatterPlot",
        "significants"
    )
    expect_named(x, expected)
})
hbc/bcbioRnaseq documentation built on April 1, 2024, 11:31 a.m.