ggUpsetPeaks | R Documentation |
Function that calls 'getVennCounts' and draws an ggplot2-based upset plot.
ggUpsetPeaks(peaks, conds = names(peaks), conds_order = cond, order_by_freq = T, num_size = 4, title = NULL, subtitle = NULL, caption = NULL)
peaks |
List of dataframes with the genomic coordinates of the regions to overlap. Dataframes must contain the columns seqnames, start, end. |
conds |
Character with the same length as the 'peaks' list. The names that are given to the diferente objects in the 'peaks' list. Default: 'names(peaks)' |
conds_order |
Character of the same length as 'conds'. Same values as in 'conds' but with the desired order of priority. Default: 'conds'. |
order_by_freq |
Logical of length 1. If TRUE (the default), the intersections are arranged by descending order of size. Default: TRUE. |
num_size |
Numeric of length 1. Size of the labels indicating the size of each intersection. Default: 4. |
title |
Character of length 1. Title of the plot. Default: NULL. |
subtitle |
Character of length 1. Subtitle of the plot. Default: NULL. |
caption |
Character of length 1. Caption written at the bottom of the plot. Default: NULL. |
amitjavilaventura
plyranges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.