test_that("matchSampleColumn", {
expect_identical(
object = matchSampleColumn(
object = SummarizedExperiment(
colData = DataFrame(
"sampleId" = "XXX",
"sampleID" = "XXX",
"sampleid" = "XXX",
"sample" = "XXX"
)
)
),
expected = "sampleId"
)
expect_null(
object = matchSampleColumn(
object = DataFrame(
"aaa" = "AAA",
"bbb" = "BBB"
)
)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.