Learn R Programming

kmeRtone (version 1.0)

removeRegion: Remove overlapping region in coordinate data.table.

Description

Any "coor" that overlap within the "region" will be removed e.g. region = 10-20 and coor = 1-30 The results will be: coor = 1-10, 20-30 The coor still overlap one base at the terminal. This is done to produce exact result as the previous MPhil research.

Usage

removeRegion(coor, region)

Value

New coordinate data.table with the regions removed.

Arguments

coor

Coordinate data.table.

region

A data.table of region coordinate to be removed.