filter_duplicates: Variant de-duplication

Description Usage Arguments Details Value Examples

View source: R/filter_variants.R

Description

Filter duplicated variants.

Usage

1
filter_duplicates(data, filter_gd = TRUE, filter_pd = FALSE)

Arguments

data

The dataframe containing the variant data to be filtered.

filter_gd

Filter duplicate variants at the gene-level (boolean).

filter_pd

Filter duplicate variants at the position-level (boolean).

Details

This is a function for filtering duplicated variants either on the gene-level or the position-level.

Value

A data frame containing the filtered variants.

Examples

1
2
3
4
5
6
# Load test comparisons
data(test_profile_1)

# Filter variants
filtered_gene <- filter_duplicates(test_profile_1)
filtered_position <- filter_duplicates(test_profile_1, filter_pd = TRUE)

seqCAT documentation built on Nov. 8, 2020, 7:36 p.m.