tests/testthat/test_wrapper.R

context("Working wrapper")

test_that("wrapper works", {
  rp <- rolypoly_roll(
    gwas_data = sim_gwas_data,
    block_annotation = sim_block_annotation,
    block_data = sim_expression_data_normalized,
    ld_folder = system.file("extdata", "example_ld", package = "rolypoly"),
    bootstrap_iters = 2
  )
  expect_equal(class(rp), 'rolypoly')
})

Try the rolypoly package in your browser

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

rolypoly documentation built on May 2, 2019, 2:47 p.m.