inst/unitTests/test_loadKaryotype.R

test_loadKaryo <- function() {
  path <- system.file("extra", package="GreyListChIP")
  fn <- file.path(path,"karyotype_chr21.txt")
  x <- new("GreyList",karyoFile=fn)
  checkEquals(length(x@karyotype),1)
  checkEquals(seqnames(x@karyotype)[1],"chr21")
}

Try the GreyListChIP package in your browser

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

GreyListChIP documentation built on Nov. 8, 2020, 5:22 p.m.