Brick_mcool_normalisation_exists {HiCBricks}R Documentation

Check if a normalisation exists in an mcool file.

Description

Brick_mcool_normalisation_exists checks if a particular normalisation exists in an mcool file.

Usage

Brick_mcool_normalisation_exists(mcool, norm.factor = NULL,
    binsize = NULL)

Arguments

mcool

Required. Path to an mcool file.

norm.factor

Required. The normalization factor to use for normalization from an mcool file. norm.factor currently accepts one of "Iterative-Correction", "Knight-Ruitz", "Vanilla-coverage", "Vanilla-coverage-square-root".

binsize

Optional. The binsize to select from an mcool file.

Value

A boolean vector of length 1

Examples


## Not run: 

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

mcool <- "./H1-hESC-HiC-4DNFI7JNCNFB.mcool"
Brick_mcool_normalisation_exists(mcool = mcool,
norm.factor = "Iterative-Correction",
binsize = 10000)


## End(Not run)


[Package HiCBricks version 1.2.0 Index]