plotExpectedPartitions | R Documentation |
Produces a barplot showing how query regions of interest are distributed relative to the expected distribution across a given partition list
plotExpectedPartitions(expectedPartitions, feature_names = NULL, pval = FALSE)
expectedPartitions |
A data.frame holding the frequency of assignment
to each of the partitions, the expected number of each partition, and
the log10 of the observed over expected. Produced by
|
feature_names |
Character vector with labels for the partitions (optional). By default it will use the names from the first argument. |
pval |
Logical indicating whether Chi-square p-values should be added for each partition. |
A ggplot object using a barplot to show the distribution of the query regions across a given partition list.
p = calcExpectedPartitionsRef(vistaEnhancers, "hg19")
expectedPlot = plotExpectedPartitions(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.