inst/unitTests/test_heatmap.R

if(FALSE) {
    library( "RUnit" )
    library( "metagene2" )
}

test.metagene_heatmap <- function() {
    test = get_demo_metagene()
    
    checkTrue(is(metagene2_heatmap(test), "ggplot"))
    checkTrue(is(metagene2_heatmap(test, coverage_order(test)), "ggplot"))
    checkTrue(is(metagene2_heatmap(test, coverage_order(test, "align2_rep2")), "ggplot"))
}

Try the metagene2 package in your browser

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

metagene2 documentation built on March 19, 2021, 6 p.m.