tests/testthat/test_read.R

context('bed_to_granges')
test_that('bed_to_granges returns a GRanges', {
    bedfile <- system.file('extdata/SRF.bed', package = 'multicrispr')
    expect_s4_class(bed_to_granges(bedfile, 'mm10', plot = FALSE), 'GRanges')
})

Try the multicrispr package in your browser

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

multicrispr documentation built on Nov. 8, 2020, 5:10 p.m.