bed2mat: converting 3-column contact matrix to squared HiC matrix

Description Usage Arguments Value References

View source: R/bed2mat.R

Description

converting 3-column contact matrix to squared HiC matrix

Usage

1
bed2mat(bed, resol = "NONE")

Arguments

bed

the 3-column contact matrix; first and second columns are genome coordinates or bin index.

resol

resolution in base pair unit. Set it to "NONE" if the first two columns are bin indices.

Value

a squared HiC matrix that can be recongnized by get.scc.

References

HiCRep: assessing the reproducibility of Hi-C data using a stratum-adjusted correlation coefficient. Tao Yang, Feipeng Zhang, Galip Gurkan Yardimci, Fan Song, Ross C Hardison, William Stafford Noble, Feng Yue, Qunhua Li. Genome Research 2017. doi: 10.1101/gr.220640.117


qunhualilab/hicrep documentation built on Feb. 27, 2020, 9:17 p.m.