Description Usage Arguments Value Examples
Given the output from getConsensusPeaks, generate a barplot of countstatistics
1 2 3 4 5 | plotConsensusPeaks(samplepeaks, viewer = TRUE, palette = "Set1",
xlabel = NULL, ylabel = "Peak Counts", xlabelsize = "15px",
ylabelsize = "15px", maintitle = "Peak Counts by Cell Type",
subtitle = "For bioreplicates and their merged consensus track",
maintitlesize = "20px", subtitlesize = "15px")
|
samplepeaks |
output generated from getConsensusPeaks |
viewer |
whether the plot should be displayed in the RStudio viewer or in Shiny/Knittr |
palette |
choose an RColorBrewer palette ("Set1", "Set2", "Set3", "Pastel1", "Pastel2", "Paired", etc.) or submit a vector of colors |
xlabel |
label for x-axis (default, types of peaks - e.g. ConsensusPeaks, rep1, rep2, etc.) |
ylabel |
label for y-axis (default, "Peak Counts") |
xlabelsize |
size of xlabel (default, 15px) |
ylabelsize |
size of ylabel (default, 15px) |
maintitle |
main title (default, "Peak Counts by Cell Type") |
subtitle |
subtitle (default, "For bioreplicates and their merged consensus track") |
maintitlesize |
main title size (default, 20px) |
subtitlesize |
subitle size (default 15px) |
a highcharter object
1 2 3 4 5 6 7 | ## Not run:
csvfile <- loadCSVFile("DNaseEncodeExample.csv")
samplePeaks <- loadBedFiles(csvfile)
consensusPeaks <- getConsensusPeaks(samplepeaks = samplePeaks,
minreps = 2)
plotConsensusPeaks(samplepeaks = consensusPeaks)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.