plot variability of motifs/etc

plotVariability(variability, xlab = "Sorted TFs", n = 3,
  labels = variability$name, use_plotly = interactive())

Arguments

variability

output from computeVariability

xlab

label for x-axis (default is 'Sorted TFs')

n

number of toppoints to label?

labels

names of sets. if not given, uses rownames of variability

use_plotly

make plot interactive (using plotly)

Value

ggplot or plotly object, depending on whether use_plotly is TRUE

Examples

# NOT RUN {
# Load very small example results from computeDeviations
data(mini_dev, package = "chromVAR")
variability <- computeVariability(mini_dev)
var_plot <- plotVariability(variability, use_plotly = FALSE)
# }