tracks: Aligning tracks with HiCExperiment objects

tracksR Documentation

Aligning tracks with HiCExperiment objects

Description

Aligning tracks with HiCExperiment objects

Usage

## S4 method for signature 'HiCExperiment'
coverage(x, use.pairs = FALSE, bin.size = resolution(x))

Arguments

x

A HiCExperiment object over a full genome

use.pairs

logical. Whether to use pairsFile to compute Hi-C coverage

bin.size

if use.pairs == TRUE, to which resolution

Value

A HiCExperiment object with 2 added columns in regions(x)

Examples

mcool_file <- HiContactsData::HiContactsData('yeast_wt', format = 'mcool')
hic <- import(mcool_file, format = 'mcool', resolution = 1000)
coverage(hic)

js2264/coolerr documentation built on Oct. 3, 2024, 2:52 a.m.