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

Try the profileplyr package in your browser

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

profileplyr documentation built on Nov. 8, 2020, 8:12 p.m.