Brick_list_mcool_resolutions: Get all available normalisations in an mcool file.

Description Usage Arguments Value Examples

View source: R/Brick_functions.R

Description

Brick_list_mcool_resolutions lists all available resolutions in the mcool file.

Usage

1

Arguments

mcool

Required. A parameter specifying the name of an mcool file

Value

A named vector listing all possible resolutions in the file.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
require(curl)
out_dir <- file.path(tempdir(),"mcool_test_dir")
dir.create(path = out_dir)

curl_download(url = paste("https://data.4dnucleome.org/",
"files-processed/4DNFI7JNCNFB/",
"@download/4DNFI7JNCNFB.mcool", sep = ""),
destfile = file.path(out_dir,"H1-hESC-HiC-4DNFI7JNCNFB.mcool"))

mcool <- file.path(out_dir,"H1-hESC-HiC-4DNFI7JNCNFB.mcool")

Brick_list_mcool_resolutions(mcool)


## End(Not run)

HiCBricks documentation built on Nov. 8, 2020, 7:45 p.m.