tests/testthat/test_operations.r

library(soGGi)
context("Arithmetic Operation")
data(chipExampleBig)
expect_that(all(assays((chipExampleBig[[1]]+chipExampleBig[[2]])/2)[[1]]==
               assays(mean(chipExampleBig[[1]],chipExampleBig[[2]]))[[1]]),is_true()
)

Try the soGGi package in your browser

Any scripts or data that you put into this service are public.

soGGi documentation built on Nov. 8, 2020, 5:24 p.m.