filter_out: Filter out events located in heterogeneity areas

View source: R/filter_out.R

filter_outR Documentation

Filter out events located in heterogeneity areas

Description

Filter out events located in heterogeneity areas

Usage

filter_out(event_data, het_regions, min_overlap = 0)

Arguments

event_data

a data.frame of events such as generated by function getdels

het_regions

a data.frame of genomic ranges to be used for filtering out events located in these regions.

min_overlap

a single numeric value between 0 and 1. The minimal proportion of the length of the event that must overlap with a region listed in het_sites for this event to be filtered out. A value of 0 results in an overlap of even a single nucleotide to be removed, whereas a value of 1 results in only CNVs entirely located in a specified region to be removed.

Value

a data.frame of read counts similar to that given as input, but with events removed according to the specified filters.

Examples

NULL

malemay/delgbs documentation built on Feb. 1, 2024, 8:38 a.m.