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())

Try the minfi package in your browser

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

minfi documentation built on Nov. 8, 2020, 4:53 p.m.