tests/testthat/test_maf.R

library(vcfR)
#library(testthat)
context("maf")


test_that("maf works on vcfR",{
  data("vcfR_example")
  my.maf <- maf(vcf)

  expect_equal( ncol(my.maf), 4 )
})

Try the vcfR package in your browser

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

vcfR documentation built on Feb. 16, 2023, 8:12 p.m.