Description Usage Arguments Details Value Examples
View source: R/filter_variants.R
Filter duplicated variants.
1 | filter_duplicates(data, filter_gd = TRUE, filter_pd = FALSE)
|
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). |
This is a function for filtering duplicated variants either on the gene-level or the position-level.
A data frame containing the filtered variants.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.