removeDups: Remove all but one occurences of a duplicated interaction

View source: R/processing.R

removeDupsR Documentation

Remove all but one occurences of a duplicated interaction

Description

Removes all but the first occurence of a duplicated interaction (defined as having identical coordinates for both anchors). N.B. this does not summarise the total counts of all the duplicates. It is designed for removing potential PCR duplicates after reading in .bam files.

Usage

removeDups(GIObject)

Arguments

GIObject

A GInteractions object.

Value

A GInteractions object that is a subset of the input object.


ComputationalRegulatoryGenomicsICL/GenomicInteractions documentation built on April 16, 2022, 4:09 a.m.