plotVariability {chromVAR} | R Documentation

## plotVariability

### Description

plot variability of motifs/etc

### Usage

    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

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

[Package chromVAR version 1.4.1 Index]