overlapCalc: Calculates nucleotide overlap only

Description Usage Arguments Value Examples

View source: R/overlapCalc.R

Description

The function calculates the nucleotide overlap between two bed files (query and hit).

Usage

1
overlapCalc(bed1, pwd)

Arguments

bed1

The file path of a query bed file to be compared to the database files.

bed2

The file path of a bed file in the database files to be compared to the query file.

Value

A value of the nucleotide overlap. To be used as an internal function for PValue_nt and GPSMatch_nt.

Examples

1
overlapCalc("/dir/bed1.txt","/dir/bed2.txt")

Bao-Lab/GPSmatch documentation built on Dec. 17, 2021, 10:45 a.m.