listResolutions {trackViewer} | R Documentation |
List the resolutions available in the file.
listResolutions(file, format = c("hic", "cool"), unit = "BP")
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. |
hicfile <- system.file("extdata", "test_chr22.hic", package="trackViewer") listResolutions(hicfile) coolfile <- system.file("extdata", "test.mcool", package="trackViewer") listResolutions(coolfile, format="cool")