range_bins {segmenter}R Documentation

Format the loaded binarized data

Description

The function takes the data.frames of the loaded binarized data files and format them into GRanges or SummarizedExperiment objects.

Usage

range_bins(bins, chromsizefile, binsize, return = "GRanges", tidy = TRUE)

Arguments

bins

A list of the read_bins_file output.

chromsizefile

A string. The path to the chromosomes sizes file.

binsize

An integer. The number in bp used to generate binarized files.

return

A string. Possible values are GRanges (default) or SummarizedExperiment.

tidy

A logical. Default is TRUE. Whether to tidy the metadata columns of the GRanges object.

Value

GRanges (default) or SummarizedExperiment.


[Package segmenter version 1.0.0 Index]