bin_genome: Bin the genome

View source: R/genomic.R

bin_genomeR 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


jokergoo/ComplexHeatmap documentation built on Nov. 17, 2023, 11:27 a.m.