# computeZScore.R
library(singleCellTK)
context("Testing computeZScore.R")
data(scExample, package = "singleCellTK")
test_that(desc = "Testing computeZScore.R", {
scaledMatrix <- computeZScore(assay(sce, "counts"))
testthat::expect_equal(nrow(scaledMatrix), nrow(sce))
testthat::expect_equal(ncol(scaledMatrix), ncol(sce))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.