tests/testthat/test-melt.R

test_that("SCE", {
    x <- melt(sce)
    expect_s4_class(x, "DFrame")
    expect_identical(
        object = colnames(x),
        expected = c(
            "rowname",
            "colname",
            "value",
            "sampleId",
            "sampleName",
            "interestingGroups"
        )
    )
})
acidgenomics/r-acidsinglecell documentation built on March 30, 2024, 5:39 a.m.