plot_contacts_rotated: Plot a rotated HiC map from a contact matrix.

Description Usage Arguments Value See Also Examples

View source: R/plot_contacts_rotated.R

Description

This function takes a contact matrix and plots a HiC map

Usage

1
2
3
plot_contacts_rotated(mat, m1 = NULL, m2 = NULL,
  transformation = function(x) log10(x + min(x[x > 0], na.rm = TRUE)),
  color = viridis(100), sym = FALSE)

Arguments

mat

Input contact matrix. Usually the output of get_contacts or make_contacts

m1

Label of the lower panel

m2

Label of the upper panel

transformation

Transformation of the data to ease the visualization. Dafaults to log10

color

A vector of colors (palette). Dafaults to viridis(100)

sym

Should the color code be symmetric around 0?. Dafaults to FALSE

Value

A nice plot

See Also

read_tabix and get_contacts for data retrieval

Examples

1
plot(0)

qenvio/hicvidere documentation built on May 24, 2017, 1:24 p.m.