scalogram: Compute a scalogram of contacts

View source: R/scalogram.R

scalogramR Documentation

Compute a scalogram of contacts

Description

Compute a scalogram of contacts

Usage

scalogram(x, dist_min = 0, nbins = 250, probs = c(0.25, 0.5, 0.75))

Arguments

x

A HiCExperiment object

dist_min

Minimum distance for interactions to be considered.

nbins

Number of bins to divide each chromosome

probs

Quantiles of interactions

Value

a tibble

a tibble

Examples

contacts_yeast <- HiCExperiment::contacts_yeast()
pairsFile(contacts_yeast) <- HiContactsData::HiContactsData(
  'yeast_wt', format = 'pairs.gz'
)
scalo <- scalogram(contacts_yeast['II'])
scalo

js2264/cooleR documentation built on Oct. 3, 2024, 2:51 a.m.