inst/unitTests/test_GenomicFiles-class.R

test_GenomicFiles_dimnames <- function() {
    gf <- GenomicFiles(files=c("a", "b"))
    checkIdentical(c("a", "b"), names(files(gf)))
    checkIdentical(list(NULL, c("a", "b")), dimnames(gf))
    colnames(gf) <- c("c", "d")
    checkIdentical(list(NULL, c("c", "d")), dimnames(gf))
    checkIdentical(c("c", "d"), names(files(gf)))
}

Try the GenomicFiles package in your browser

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

GenomicFiles documentation built on Nov. 8, 2020, 7:48 p.m.