Description Usage Arguments Value
a flexible plotting tool of the enrichment data.frame generated by CalculateEnrichment()
| 1 2 | 
| variant.enrichment | a data.frame of enrichment data generated by CalculateEnrichment() | 
| value | one of 'difference' or 'oddsratio', thereby plotting the difference in beta distributions between foreground and background, or the oddsratio of the comparison. | 
| block1 | character string defining the column of variant.enrichment to be used as a factor by which to separate the enrichment into blocks (separate panels) in the plot. Default is NULL, in which case there is no blocking. | 
| block2 | character string defining the column of variant.enrichment to be used as a factor by which to separate the enrichment into blocks (separate panels) in the plot. Default is NULL, in which case there is no blocking. | 
| color.by | optional character string defining the column of variant.enrichment to be used to color the values. If this column has hex color values, in the format #ff0000 they will be used. | 
| colors | optional character vector defining the colors to use for each value. Must be the same length as the the number of rows in the variante.enrichment data.frame. | 
| ncol | number of columns to use for facet_wrap if only one block is defined. | 
a ggplot plot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.