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/r-cellosaurus documentation built on March 12, 2024, 2:37 p.m.