get_expected_matrix: Compute expected matrix (by distance decay).

Description Usage Arguments Value Examples

View source: R/get_expected_matrix.R

Description

This function takes a sparse matrix of contacts and data frame with the expected counts per distance and returns a expected matrix.

Usage

1

Arguments

mat

A dgTMatrix of contacts with genomic bins as row.names. Currently only one chromosome.

dd

A data.frame with two columns: d (distance in bp) and e (expected number of contacts.

Value

A dgTMatrix corresponding to expected counts.

Examples

1
plot(0)

qenvio/dryhic documentation built on Nov. 5, 2018, 9:43 p.m.