tests/testthat/test_SOCNumber.R

context("Just testing sequence order coupling number functionality")

test_that("Check whether SOCNumber length vector is correct",{
  lenFun<-ncol(SOCNumber(seqs = "ATSCCVYTGRILKMNSAAAFDCILG",nlag = 21))
  expectedLen<-21*2
  expect_equal(lenFun,expectedLen)
})

Try the ftrCOOL package in your browser

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

ftrCOOL documentation built on Nov. 30, 2021, 1:07 a.m.