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 Sept. 24, 2024, 4:48 p.m.