inst/testData/testData_preprocessRaw.R

library(minfiData)
library(digest)

Mset.raw <- preprocessRaw(RGsetEx)
digest_preprocessRaw <- list(Meth = minfi:::.digestMatrix(getMeth(Mset.raw)),
                              Unmeth = minfi:::.digestMatrix(getUnmeth(Mset.raw)))
save(digest_preprocessRaw, file = "../unitTests/digest_preprocessRaw.rda")

sessionInfo()
rm(list = ls())

# ------------------------------------------------------------------------------
# DelayedArray tests
#

library(DelayedArray)

assays(RGsetEx) <- endoapply(assays(RGsetEx), DelayedArray)

Mset.raw <- preprocessRaw(RGsetEx)
digest_preprocessRaw <- list(Meth = minfi:::.digestMatrix(getMeth(Mset.raw)),
                             Unmeth = minfi:::.digestMatrix(getUnmeth(Mset.raw)))
save(digest_preprocessRaw, file = "../unitTests/digest_preprocessRaw.DelayedArray.rda")

sessionInfo()
rm(list = ls())
kasperdanielhansen/minfi documentation built on May 4, 2024, 12:04 p.m.