segmentGenome {epigraHMM} | R Documentation

## Segmentation of a genome in non-overlapping windows

### Description

This function segments a genome into non-overlapping windows.

### Usage

    segmentGenome(genome, window, rm.gap = TRUE, rm.blacklist = TRUE)

### Arguments

`genome` | a string with the name of the genome (e.g. 'hg19')
`window` | an integer with the window size
`rm.gap` | a logical indicating gap regions should be removed
`rm.blacklist` | a logical indicating blacklisted regions should be removed

### Value

a GRanges object with the binned genome

### Author(s)

Pedro L. Baldoni, pedrobaldoni@gmail.com

### References

https://github.com/plbaldoni/epigraHMM

### Examples

    gr <- segmentGenome(genome = 'mm10', window = 500)

[Package epigraHMM version 1.0.8 Index]