bin_genome {ComplexHeatmap} | R Documentation

## Bin the genome

### Description

Bin the genome

### Usage

    bin_genome(species = "hg19", bins = 2000, bin_size = NULL, ...)

### Arguments

`species` | Abbreviation of the genome, pass to `read.chromInfo`.
`bins` | Number of bins. The final number of bins is approximately equal to it.
`bin_size` | Size of the bins. If `bin_size` is set, `bins` is ignored.
`...` | All pass to `read.chromInfo`. E.g. you can set a subset of chromosomes there.

### Value

A `GRanges` object of the genomic bins.

### Examples

    # There is no example
    NULL

[Package ComplexHeatmap version 2.10.0 Index]