Description Usage Arguments Value Author(s) Examples
This function takes as input argument and output object
from recoup
and creates heatmaps
depicting genomic coverages using the
ComplexHeatmap
package and the options present
in the input object. It can be used with saved recoup
outputs so as to recreate the plots without re-reading
BAM/BED files and re-calculating coverages.
1 | recoupHeatmap(recoupObj, samples = NULL, rc = NULL)
|
recoupObj |
a list object created from
|
samples |
which samples to plot. Either numeric
(denoting the sample indices) or sample ids. Defaults
to |
rc |
fraction (0-1) of cores to use in a multicore
system. It defaults to |
The function returns the recoupObj
with the
slot for the profile plot filled. See also the
recoupPlot
, getr
and setr
function.
Panagiotis Moulos
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # 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(profile=FALSE,heatmap=FALSE),
rc=0.1
)
# Plot coverage profiles
recoupHeatmap(test.tss,rc=0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.