listChromosomes: List the available chromosome

View source: R/listChromosomes.R

listChromosomesR 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")

jianhong/trackViewer documentation built on March 17, 2024, 2:16 p.m.