listChromosomes {trackViewer} | R Documentation

## List the available chromosome

### Description

List the chromosomes available in the file.

### Usage

    listChromosomes(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")
    listChromosomes(hicfile)
    coolfile <- system.file("extdata", "test.mcool", package="trackViewer")
    listChromosomes(coolfile, format="cool")

[Package trackViewer version 1.28.1 Index]