R/multi-plot.R

Defines functions evidenceHeatmap

Documented in evidenceHeatmap

evidenceHeatmap <- function(x, fill = "d", color = "outside",
                           size = 1.5,
                           xvar = "sample", yvar = "loc", ...) {

    mc = mergeCalls(x)

    p = ggplot(mc) +
        geom_tile(aes_string(x = xvar, y = yvar, fill = fill, color = color),
                  size = size, ...) +
                      theme_bw() + xlab("Sample") + ylab("Variant")
    
    return(p)
}

Try the Rariant package in your browser

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

Rariant documentation built on Nov. 8, 2020, 6:56 p.m.