subtract_VRanges: Subtract VRanges objects

Description Usage Arguments Value Examples

View source: R/subtract_VRanges.R

Description

Identifies features from B that overlap with A, removes the overlapping features from A and returns the remaining portion of A. If both A and B are VRanges objects, then this function is allele specific.

Usage

1

Arguments

A

VRanges object to filter from and return

B

VRanges or GRanges object with alleles to filter out

Value

This function returns VRanges object A with alleles from VRanges object B filtered out

Examples

1
2
3
4
## Not run: 
variants <- subtract_VRanges(A = variants, B = flagged_alleles)

## End(Not run)

andygxzeng/ECSI documentation built on Feb. 6, 2021, 8:53 a.m.