kr_sparse: Perform the Knight-Ruiz normalization.

Description Usage Arguments Details Value References Examples

View source: R/kr_sparse.R

Description

This function takes a contact matrix and returns its KR normalized version.

Usage

1

Arguments

A

A dgTMatrix of contacts with genomic bins as row.names.

Details

This is a re-implementation of https://github.com/dozmorovlab/HiCcompare/blob/master/R/KRnormalization.R using sparse matrices.

Value

A A dgTMatrix of normalized contacts.

References

https://doi.org/10.1093/imanum/drs019

Examples

1
plot(0)

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