listChromosomes {trackViewer} | R Documentation |
List the chromosomes available in the file.
listChromosomes(file, format = c("hic", "cool"))
file |
character(1). File name of .hic or .cool/.mcool/.scool |
format |
character(1). File format, "hic" or "cool". |
hicfile <- system.file("extdata", "test_chr22.hic", package="trackViewer") listChromosomes(hicfile) coolfile <- system.file("extdata", "test.mcool", package="trackViewer") listChromosomes(coolfile, format="cool")