inst/unitTests/test_FilterParam.R

test_FilterParam <- function(){
  fp <- FilterParam()
  checkTrue(length(probability(FilterParam()))==1)

  data(snp_exp)
  fit <- hmm2(snp_exp)
  checkTrue(is(unlist(fit), "HmmGRanges"))
  checkTrue(is(as(unlist(fit), "GRanges"), "GRanges"))
  checkTrue(identical(length(fit), ncol(snp_exp)))
}

Try the VanillaICE package in your browser

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

VanillaICE documentation built on Nov. 8, 2020, 7:33 p.m.