filter_duplicates {seqCAT} | R Documentation

## Variant de-duplication

### Description

Filter duplicated variants.

### Usage

    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

    # 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)

[Package seqCAT version 1.10.0 Index]