Plots the predicted compartments, along with their concordance in each replicate, and significant changes between experiment conditions.

plotCompartmentChanges(
  object,
  chromosome,
  threshold = 0.05,
  xlim = NULL,
  points = FALSE
)

Arguments

object

A HiCDOCDataSet.

chromosome

A chromosome name or index in chromosomes(object).

threshold

Significance threshold for the compartment changes. Defaults to 0.05.

xlim

A vector of the minimum and maximum positions to display. If NULL, displays all positions. Defaults to NULL.

points

Whether or not to add points to the concordances. Defaults to FALSE.

Value

A ggplot.

Examples

data(exampleHiCDOCDataSetProcessed) plotCompartmentChanges(exampleHiCDOCDataSetProcessed, chromosome = 1)