Description Usage Arguments Value
View source: R/overlaps_plot.R
plot_overlaps
plots the data.frame returned by
get_bed_overlaps
.
1 | plot_overlaps(df, xid_solid_line = NULL, varshney_chrhmm = FALSE)
|
df |
Data.frame. Data.frame with at least these columns: CHROM, POS, ID, 'bed.*'. The 'bed.*' column names define y-axis labels, 'bed.*' column values define the plot colors, and the ID column values define the x-axis labels. |
xid_solid_line |
Character vector. A solid verticle line will be added to the plot at any x-axis value that is contained within this character vector. |
varshney_chrhmm |
Logical.
If |
List. A list with the following elements:
object from ggplot2
data.frame of the plot data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.