FindOverlaps: Find Overlaps

View source: R/overlaps.R

FindOverlapsR Documentation

Find Overlaps

Description

Identifies which loci in left overlap with which loci in right. Note this function is asymmetric; FindOverlaps(left, right) will generally differ from FindOverlaps(right, left).

Usage

FindOverlaps(
  left,
  right,
  left_chr_name = "chr",
  left_start_name = "start",
  left_end_name = "end",
  right_chr_name = "chr",
  right_start_name = "start",
  right_end_name = "end"
)

Arguments

left

Data.frame containing the first set of loci.

right

Data.frame containing the second set of loci.

left_chr_name

Name of column containing chromosome.

left_start_name

Name of column containing locus start position.

left_end_name

Name of column containing locus end position.

right_chr_name

Name of column containing chromosome.

right_start_name

Name of column containing locus start position.

right_end_name

Name of column containing locus end position.

Value

Data.frame.


zrmacc/CompareLoci documentation built on April 1, 2022, 10:58 p.m.