combine_contacts: Combine two contact matrices in one, split by the diagonal

Description Usage Arguments Value See Also Examples

View source: R/combine_contacts.R

Description

This function takes two contact matrices and combines them into a new pseudo-contact matrix with one experiment in the upper diagonal and the other in the lower diagonal

Usage

1
combine_contacts(x1, x2, common.scale = F, diag.value = NA)

Arguments

x1

First contact matrix (upper diagonal)

x2

Second contact matrix (lower diagonal)

common.scale

Logical indicating if both matrices should be on the same scale

diag.value

Scaler or vecor of values to susbtitute the diagonal elements by

Value

A squared matrix of contacts

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.