HiC_matrix.from_hic: Load a HiC_matrix from a .hic file.

View source: R/class_HiC_matrix.from_hic.R

HiC_matrix.from_hicR Documentation

Load a HiC_matrix from a .hic file.

Description

This HiC_matrix is only a small slice of complete matrix therefore stats like insulation are not valid.

Usage

HiC_matrix.from_hic(
  hic_f,
  query_gr,
  bin_size = NULL,
  matrix = c("observed", "oe", "expected")[2]
)

Arguments

hic_f

a .hic file

query_gr

a query GRanges

bin_size

the bin size to retrieve. Use strawr::readHicBpResolutions to find valid resoltions.

matrix

one of c("observed", "oe", "expected"). Default is "oe", observed/expected. See strawr::straw for details.


jrboyd/dthic documentation built on Oct. 4, 2022, 8:53 p.m.