harmonize_seqlengths: Ensure that regions in GRanges are compatible wtih seqlengths...

Description Usage Arguments Value

View source: R/functions_utils.R

Description

Ensure that regions in GRanges are compatible wtih seqlengths of bam_file

Usage

1
harmonize_seqlengths(gr, bam_file)

Arguments

gr

GRanges that possibly extend to invalid start or end values.

bam_file

bam_file to retrieve seqlengths info from

Value

GRanges shifted such that all start at 1 or greater and end prior to chromosome end


jrboyd/peakrefine documentation built on July 30, 2020, 7:13 p.m.