intersect_bed: Apply 'intersect' operation between two tables

Description Usage Arguments

View source: R/manipulation.R

Description

Apply intersect operation between two tables

Usage

1
2
3
4
5
6
7
intersect_bed(
  x,
  y,
  mode = c("default", "exclude", "wa", "wb", "wo", "unique", "loj"),
  max_gap = 0,
  min_overlap = 1
)

Arguments

mode

default: Similar to bedtools intersect's default behavior.

wa: Similar to bedtools intersect's -wa argument.

wb: Similar to bedtools intersect's -wb argument.

unique: Similar to bedtools intersect's -u argument.

max_gap

The largest gap for two intervals to be considered as overlapping. Default is 0 (no gap allowed).

min_overalp

The smallest overlapping region for two intervals to be considered as overlapping. Default is 1.


haizi-zh/bioessentials documentation built on April 10, 2021, 2:34 p.m.