CalcOverlapStats: Calculate Overlap Statistics

View source: R/overlaps.R

CalcOverlapStatsR Documentation

Calculate Overlap Statistics

Description

Calculates overlap statistics comparing loci on the left with loci on the right. Note this function is asymmetric; CalcOverlapStats(left, right) will generally differ from CalcOverlapStats(right, left).

Usage

CalcOverlapStats(
  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.