correct_mat_from_b: Apply a bias correction to a HiC contact matrix

Description Usage Arguments Details Value Examples

View source: R/correct_mat_from_b.R

Description

This function takes a contact matrix and a vector of biases and returns the corrected contact matrix

Usage

1

Arguments

mat

HiC contact map matrix

b

Vecor of biases

Details

Given a raw contact matrix R_{ij} and a vector of biases b_i, the corrected matrix is C_{ij} = R_{ij} / (b_i b_j)

Value

A corrected HiC contact matrix

Examples

1
plot(0)

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