plotVariability: plotVariability

Description Usage Arguments Value Author(s) Examples

View source: R/plotting.R

Description

plot variability of motifs/etc

Usage

1
2
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

Author(s)

Alicia Schep

Examples

1
2
3
4
# Load very small example results from computeDeviations
data(mini_dev, package = "chromVAR")
variability <- computeVariability(mini_dev)
var_plot <- plotVariability(variability, use_plotly = FALSE) 

chromVAR documentation built on Nov. 8, 2020, 6:46 p.m.