getBins: Make fixed-width bins

getBinsR Documentation

Make fixed-width bins

Description

Make fixed-width bins based on given bin size.

Usage

getBins(chrom.lengths = hg19_chrlength, binsize = 1e+06, chromosomes = NULL)

Arguments

chrom.lengths

A named character vector with chromosome lengths. Names correspond to chromosomes.

binsize

Size of bins in basepairs

chromosomes

A subset of chromosomes for which the bins are generated.

Value

A data frame with chr start and end positions


shahcompbio/signals documentation built on Jan. 11, 2025, 2:20 a.m.