segmentGenome: Segmentation of a genome in non-overlapping windows

View source: R/segmentGenome.R

segmentGenomeR 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)


plbaldoni/epigrahmm documentation built on Oct. 14, 2023, 5:13 a.m.