tests/testthat/test-Read.R

test_that("the first twenty columns of thehidden markov model file are read in", {
  expect_equal(ncol(hmm_read(system.file("extdata", "1DLHA2-7", package="protHMM"))), 20)
  expect_equal(is.numeric(hmm_read(system.file("extdata", "1DLHA2-7", package="protHMM"))), TRUE)
})

Try the protHMM package in your browser

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

protHMM documentation built on July 9, 2023, 6:10 p.m.