listResolutions {trackViewer}R Documentation

List the available resolutions

Description

List the resolutions available in the file.

Usage

listResolutions(file, format = c("hic", "cool"), unit = "BP")

Arguments

file

character(1). File name of .hic or .cool/.mcool/.scool

format

character(1). File format, "hic" or "cool".

unit

character(1). Resolution unit, "BP" or "FRAG". For hic file only.

Examples

hicfile <- system.file("extdata", "test_chr22.hic", package="trackViewer")
listResolutions(hicfile)
coolfile <- system.file("extdata", "test.mcool", package="trackViewer")
listResolutions(coolfile, format="cool")

[Package trackViewer version 1.29.8 Index]