inst/unitTests/test_SnpGRanges.R

test_SnpGRanges <- function(){
  g <- GRanges("chr1", IRanges(15L, 15L))
  sg <- SnpGRanges(g, isSnp=TRUE)
  checkTrue(validObject(sg))
  checkTrue(validObject(SnpGRanges()))
}

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.