expand_fragments: Expand the boundaries of regions in a list of GenomicRanges...

Description Usage Arguments Value

View source: R/io_and_formats.R

Description

This function expands from the center of the GenomicRanges objects using GenomicRanges::resize(fix = "center")

Usage

1
expand_fragments(fragment_list, width = 10000, collapse = TRUE)

Arguments

fragment_list

The list object containing GenomicRanges objects

width

The fragment size to output. Default is 1e4.

collapse

Logical to determine if overlapping fragments should be merged after expansion. Default is TRUE.

Value

A list object containing resized GenomicRanges objects.


AllenInstitute/lowcat documentation built on Oct. 30, 2019, 4:45 a.m.