tests/testthat/test_exporting.R

library(profileplyr)
library(soGGi)
context("Test subsetting and indexing")
data(chipExampleBig)
p <- as_profileplyr(chipExampleBig,names = "name")
export_deepToolsMat(p,con = "p.MAT")
export_deepToolsMat(p[,,1],con = "pSingle.MAT")
expect_that(file.exists("p.MAT.gz"),is_true())
expect_that(file.exists("pSingle.MAT.gz"),is_true())
unlink("p.MAT.gz")
unlink("pSingle.MAT.gz")
RockefellerUniversity/profileplyr documentation built on Jan. 28, 2023, 10:09 a.m.