recoupPlot {recoup} | R Documentation |
This function takes as input argument an output object
from recoup
and plots the ggplot2
and ComplexHeatmap
objects stored there.
recoupPlot(recoupObj, what = c("profile", "heatmap", "correlation"), device = c("x11", "png", "jpg", "tiff", "bmp", "pdf", "ps"), outputDir = ".", outputBase = paste(sapply(recoupObj, function(x) return(x$data$id)), sep = "_"), mainh = 1, ...)
recoupObj |
a list object created from
|
what |
one or more of |
device |
a valid R graphics device. See the
|
outputDir |
a valid directory when device is not
|
outputBase |
a valid file name to be used as
basis when device is not |
mainh |
the reference heatmap for ordering
operations. Normally, calculated in
|
... |
further parameters passed either to
|
This function does not returns anything, just plots the
recoup
plots.
Panagiotis Moulos
# Load some data data("recoup_test_data",package="recoup") # Calculate coverages test.tss <- recoup( test.input, design=NULL, region="tss", type="chipseq", genome=test.genome, flank=c(2000,2000), selector=NULL, plotParams=list(plot=FALSE,profile=TRUE, heatmap=TRUE,device="x11"), rc=0.5 ) # Plot coverage profiles recoupPlot(test.tss)