cooler: cooler

coolerR Documentation

cooler

Description

Instantiates gMatrix from .cool and/or .mcool file, +/- at specific locations.

To find viable resolutions (e.g. for mcool files) use info = TRUE and you will get a list of info, including seqlengths.

Usage

cooler(
  file,
  gr = NULL,
  res = NULL,
  info = FALSE,
  field = NULL,
  nochr = FALSE,
  mc.cores = 1
)

Arguments

file

path to .cool or m.cool file

gr

optional GRanges of intervals to query

res

optional resolution to pull

info

logical flag (FALSE) specifying whether to return a vector of file info instead of pulling down data, this will include available resolutions (for .mcool format) and fields

Value

gMatrix or list

Author(s)

Marcin Imielinski


mskilab/GxG documentation built on April 12, 2025, 5:32 p.m.