Import a HiC-Pro raw .matrix
and .bed
of any resolution into R and generate a .bedpe.Rds
object.
HiC-Pro raw matrices are in a sparse upper-triangular format, however they are output as two plain text files: a .matrix
and a .bed
The hicpro2bedpe
function from HiCcompare is used in this module to produce a sparse upper-triangular matrix in BEDPE format, which is required as input by multiHiCCompare.