gr.mincov: Return windows with minimal coverage

gr.mincovR Documentation

Return windows with minimal coverage

Description

Takes a set of GRanges and removes any ranges that don't have a minimal coverage value. If you give it a GRangesList, you will get back an unlisted GRanges.

Usage

gr.mincov(
  gr,
  min.cov = 2,
  buffer = 0,
  ignore.strand = TRUE,
  pintersect = FALSE
)

Arguments

gr

GRanges to filter

min.cov

Minimum number of overlaps to keep. Default 2

buffer

Add a buffer to the ranges when computing overlaps. Default 0

ignore.strand

Ignore the strand when comparing overlaps. Default TRUE

pintersect

Force the pintersect option for gr.findoverlaps

Value

GRanges


mskilab/skitools documentation built on Aug. 31, 2023, 1:13 p.m.