get_distance_decay: Compute distance decay of a contact matrix

Description Usage Arguments Value Examples

View source: R/get_distance_decay.R

Description

This function takes a contact matrix (tipically the output of get_contacts_matrix and returns the distance decay

Usage

1
get_distance_decay(mat, reso)

Arguments

mat

A contact matrix (could be the output of get_contacts_matrix)

reso

Bin size (resolution) in bp

Value

If mat contains more than one chromosome, a list of data.frames. If not, a data.frame with the distance d (in bp) and the expected number of counts e.

Examples

1
plot(0)

qenvio/dryhic documentation built on March 17, 2020, 8:37 p.m.