List the resolutions available in the file.

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

Arguments

file

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

format

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

Examples

hicfile <- system.file("extdata", "test_chr22.hic", package="trackViewer")
listResolutions(hicfile)
#> [1] 2500000 1000000  500000  250000  100000   50000   25000   10000    5000
coolfile <- system.file("extdata", "test.mcool", package="trackViewer")
listResolutions(coolfile, format="cool")
#> [1] "16" "2"  "32" "4"  "8"