inst/testData/testData_preprocessIllumina.R

library(minfiData)
library(digest)

Mset.illumina <- preprocessIllumina(RGsetEx)
digest_preprocessIllumina <- list(Meth = minfi:::.digestMatrix(getMeth(Mset.illumina)),
                                      Unmeth = minfi:::.digestMatrix(getUnmeth(Mset.illumina)))
save(digest_preprocessIllumina, file = "../unitTests/digest_preprocessIllumina.rda")

sessionInfo()
rm(list = ls())

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

library(DelayedArray)

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

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

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