bin_maker: Take input of a GRanges object, and use that seqinfo to bin...

bin_makerR Documentation

Take input of a GRanges object, and use that seqinfo to bin by bin_size

Description

Take input of a GRanges object, and use that seqinfo to bin by bin_size

Usage

bin_maker(grr, bin_size = 30000, genome = NULL, one_to_x = TRUE)

Arguments

grr

GRanges object with seqinfo used to make bins

bin_size

base pairs by which to bin

genome

use this to add seqinfo if none extant (e.g. "hg19", "hg38")

one_to_x

logical indicating whether to use chr1..chrX for bin, as opposed to what is in input GRanges

Value

GRanges bin


brucemoran/somenone documentation built on Nov. 1, 2022, 3:56 p.m.