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 May 29, 2024, 10:57 a.m.