Skip to contents

Open files in .cool, .mcool, .scool, and .hic format

Usage

hictkR_open(path, resolution = NULL, cell = NULL)

Arguments

path

path to the file to be opened (Cooler URI syntax is supported).

resolution

resolution of the file to be opened. Required when file is in .hic format.

cell

name of the cell to be opened. Ignored when file is not in .scool format.

Value

a file handle of the appropriate type.

Examples

if (FALSE) { # \dontrun{
hictkR_open("interactions.cool")
hictkR_open("interactions.mcool")
hictkR_open("interactions.scool")
hictkR_open("interactions.mcool", resolution=10000)
hictkR_open("interactions.hic", resolution=10000)
hictkR_open("interactions.scool", cell="id_0001")
} # }