tests/testthat/test-tnbc.R

test_that("tnbc", {
    object <- cello
    expect_identical(
        object = tnbc(object),
        expected = character()
    )
    object[1L, "comments"][[1L]][["Group"]] <-
        "Triple negative breast cancer (TNBC) cell line"
    expect_identical(
        object = tnbc(object),
        expected = rownames(object)[[1L]]
    )
})
acidgenomics/Cellosaurus documentation built on March 15, 2024, 1:28 a.m.